@Override
      public boolean isFileSelectable(@Nullable VirtualFile file) {
        return file != null && !file.isDirectory() && file.getExtension() != null && extensions.contains(file.getExtension());
      }
@Override
      public boolean isFileSelectable(@Nullable VirtualFile file)