code: private File locateModule(ModuleIdentifier modID) {
      File modDir = new File(modRoot, modID.toString());
      if (modDir.exists()) {
        return modDir;
      }
      return null;
    }
docs: Locates a module in the modules root directory.