@Override
  public void deleteFile(Object requestor, @NotNull VirtualFile file) throws IOException {
    if (file.getParent() == null) {
      throw new IOException(IdeCoreBundle.message("cannot.delete.root.directory", file.getPath()));
    }
    if (!auxDelete(file)) {
      var nioFile = convertToNioFileAndCheck(file, false);
      NioFiles.deleteRecursively(nioFile);
    }
    auxNotifyCompleted(handler -> handler.delete(file));
  }
@Override
  public void deleteFile(Object requestor, @NotNull VirtualFile file)