code: func NewConfig(path string) (*Config, error) {
  	c := newConfig()
  	c.ConfigFile = path
  
  	err := parseConfig(path, c, "", c.rawOpts)
  	if err != nil {
  		return nil, err
  	}
  
  	err = parseConfig(c.ConfigFile, c.Choria, "", c.rawOpts)
  	if err != nil {
  		return nil, err
  	}
  
  	c.parseAllDotCfg()
  
  	err = normalize(c)
  	if err != nil {
  		return nil, err
  	}
  
  	return c, nil
  }
docs: // NewConfig parses a config file and return the config