code: func ParseConfig(tomlCfgFile string) (*Config, error) {
  	cfg := &Config{
  		Scopes: map[string]*datastore.ScopeCfg{},
  	}
  
  	if _, err := toml.DecodeFile(tomlCfgFile, cfg); err != nil {
  		return nil, err
  	}
  
  	cfg.LoadDefaultScopes(cfg.Daemon.DataDir)
  	return cfg, nil
  }
docs: // ParseConfig parses the libnetwork configuration file