code: func NewTreeModule(name, dir string) (*Tree, error) {
  	c, err := config.LoadDir(dir)
  	if err != nil {
  		return nil, err
  	}
  
  	return NewTree(name, c), nil
  }
docs: // NewTreeModule is like NewTree except it parses the configuration in
  // the directory and gives it a specific name. Use a blank name "" to specify
  // the root module.