code: public void removeFile(final OFileMMap iFile) {
      lockManager.acquireLock(Thread.currentThread(), iFile, OLockManager.LOCK.EXCLUSIVE);
      try {
        mapEntrySearchInfo.remove(iFile);
        final OMMapBufferEntry[] entries = bufferPoolPerFile.remove(iFile);
        removeFileEntries(entries);
      } finally {
        lockManager.releaseLock(Thread.currentThread(), iFile, OLockManager.LOCK.EXCLUSIVE);
      }
    }
docs: Removes the file.