code: func LegacyLoadFromReader(configData io.Reader) (*configfile.ConfigFile, error) {
  	configFile := configfile.ConfigFile{
  		AuthConfigs: make(map[string]types.AuthConfig),
  	}
  	err := configFile.LegacyLoadFromReader(configData)
  	return &configFile, err
  }
docs: // LegacyLoadFromReader is a convenience function that creates a ConfigFile object from
  // a non-nested reader