code: async function _importDirectoryModules(dirPath, options) {
    const source = ((options.parent || {}).filename || options.parent) || getCallingFileName();
    const files = await filesInDirectories(makeArray(dirPath), options);
    return tryLoading(files, source, options);
  }
docs: Take a directory path(s) and pull-in all modules returning an array with the filename as the first item
  and module as the second
  
  @private
  @async
  @param {string|Array.<string>} dirPath     Directories to import.
  @param {Object} options                    Import options.
  @returns {Promise.<Array>}                 The module definitions.