@Override
            public boolean isFileSelectable(@Nullable VirtualFile virtualFile) {
              if (virtualFile == null) return false;
              return extensions.contains(virtualFile.getExtension());
            }
@Override
            public boolean isFileSelectable(@Nullable VirtualFile virtualFile)