code: func newFile(name, contents string) (*file, error) {
  	if name == "" {
  		return nil, fmt.Errorf("files cannot have empty names")
  	}
  
  	return &file{
  		name:     name,
  		contents: contents,
  	}, nil
  }
docs: // newFile returns a noder representing a file with the given contents.