code: func LoadFile(name string) (*chart.Chart, error) {
  	if fi, err := os.Stat(name); err != nil {
  		return nil, err
  	} else if fi.IsDir() {
  		return nil, errors.New("cannot load a directory")
  	}
  
  	raw, err := os.Open(name)
  	if err != nil {
  		return nil, err
  	}
  	defer raw.Close()
  
  	return LoadArchive(raw)
  }
docs: // LoadFile loads from an archive file.