code: func (d *directiveParser) LoadFiles(paths []string) error {
  	d.lock.Lock()
  	defer d.lock.Unlock()
  	filenames, err := pathsToFileGlobs(paths)
  	if err != nil {
  		return err
  	}
  	for _, filename := range filenames {
  		ranges := d.parseFile(filename)
  		sort.Sort(ranges)
  		d.files[filename] = ranges
  	}
  	return nil
  }
docs: // LoadFiles from a list of directories