code: private static void addBaseFilepath(String baseFilePath) {
          FileManager fm = EldaFileManager.get();
          for (Iterator<Locator> il = fm.locators(); il.hasNext(); ) {
              Locator l = il.next();
              if (l instanceof LocatorFile)
                  if (((LocatorFile) l).getName().equals(baseFilePath))
                      return;
          }
          log.info("adding locator for " + baseFilePath);
          EldaFileManager.get().addLocatorFile(baseFilePath);
      }
docs: Add the baseFilePath to the FileManager singleton. Only do it
  once, otherwise the instance will get larger on each config load
  (at least that won't be once per query, though). Just possibly
  there may be multiple servlet contexts so we add a new only only if
  its not already in the instance's locator list.