code: func getConfigFromFile(filename string) (*clientcmdapi.Config, error) {
  	config, err := LoadFromFile(filename)
  	if err != nil && !os.IsNotExist(err) {
  		return nil, err
  	}
  	if config == nil {
  		config = clientcmdapi.NewConfig()
  	}
  	return config, nil
  }
docs: // getConfigFromFile tries to read a kubeconfig file and if it can't, returns an error.  One exception, missing files result in empty configs, not an error.