function getFileList(base, patterns) {
  let results = [];
  const opts = {
    srcBase: base,
    prefixBase: true,
  };
  const files = glob.find(patterns, STD_EXCLUDES, opts);
  files.forEach(function(file) {
    const metaData = readMetadataForFile(file);
    if (metaData) {
      results.push(metaData);
    }
  });
  return results;
}
Gets a list of files that match a specific pattern

@param {string} base The base path to look.
@param {Array} patterns A list of glob patters to look for.
@return {Array} A list of files along with their metadata.