function loadFiles(pattern) {
  const filePaths = glob.sync(pattern, {nodir: true});
  return filePaths.map(path => fs.readFileSync(path, {encoding: 'utf8'}));
}
Evaluates path glob and loads all identified files as an array of strings.
@param {string} pattern
@return {string[]}