code: function directoryHasFile(/* String*/ aDirectory, arrayOfFileNames)
  {
      if (debug) debugLog(`directoryHasFile dir: ${aDirectory}, filenames: ${util.inspect(arrayOfFileNames)}`);
      for (let i = 0; i < arrayOfFileNames.length; ++i)
      {
          const jakefile = arrayOfFileNames[i];
  
          if (fs.existsSync(path.join(aDirectory, jakefile)))
          {
              if (debug)
              {
                  debugLog(`directoryHasFile `
                      + ` found: ${jakefile} dir: ${aDirectory}, filenames: ${util.inspect(arrayOfFileNames)} `);
              }
  
              return jakefile;
          }
  
          else if (jakefile === '')
          {
              if (debug)
              {
                  debugLog(`directoryHasFile NOTfound: `
                      + ` ${jakefile} dir: ${aDirectory}, filenames: ${util.inspect(arrayOfFileNames)} `);
              }
  
              return undefined;
          }
      }
      if (debug)
      {
          debugLog(`directoryHasFile NOTfound: dir: ${aDirectory}, filenames: ${util.inspect(arrayOfFileNames)} `);
      }
  
      return undefined;
  }
docs: True if one of the files in JAKEFILES is in the current directory. If a match is found, it is copied into @jakefile. 
  directoryHasFile - searches a directory to see if one of the filenames in arrayOfFileNames
  exists in that directory
  
  @param      {string}             aDirectory        A directory
  @param      {array of string}    arrayOfFileNames  The array of file names
  @return     {string | undefined} returns the filename is successful else undefined