@Override
      public boolean isFileSelectable(@Nullable VirtualFile file) {
        if (file == null || (file.isInLocalFileSystem() && file.isDirectory())) return false;
        return super.isFileSelectable(file);
      }
@Override
      public boolean isFileSelectable(@Nullable VirtualFile file)