code: private void doDelete(final FileStatusEntry entry) {
      for (final PathAlterationListener listener : listeners.values()) {
        if (entry.isDirectory()) {
          listener.onDirectoryDelete(entry.getPath());
        } else {
          listener.onFileDelete(entry.getPath());
        }
      }
    }
docs: Fire directory/file delete events to the registered listeners.
  
  @param entry The file entry