code: func LoadFile(path string) (*Config, error) {
  	importTree, err := loadTree(path)
  	if err != nil {
  		return nil, err
  	}
  
  	configTree, err := importTree.ConfigTree()
  
  	// Close the importTree now so that we can clear resources as quickly
  	// as possible.
  	importTree.Close()
  
  	if err != nil {
  		return nil, err
  	}
  
  	return configTree.Flatten()
  }
docs: // LoadFile loads the Terraform configuration from a given file.
  //
  // This file can be any format that Terraform recognizes, and import any
  // other format that Terraform recognizes.