code: func LoadFiles(config interface{}, files []string, opts Options) error {
  	if len(files) == 0 {
  		return errNoFilesToLoad
  	}
  	for _, name := range files {
  		data, err := ioutil.ReadFile(name)
  		if err != nil {
  			return err
  		}
  		unmarshal := yaml.UnmarshalStrict
  		if opts.DisableUnmarshalStrict {
  			unmarshal = yaml.Unmarshal
  		}
  		if err := unmarshal(data, config); err != nil {
  			return err
  		}
  	}
  	if opts.DisableValidate {
  		return nil
  	}
  	return validator.Validate(config)
  }
docs: // LoadFiles loads a config from list of files. If value for a property is
  // present in multiple files, the value from the last file will be applied.
  // Validation is done after merging all values.