private static Stream<VirtualFile> supportedFiles(AnActionEvent e) {
    VirtualFile[] files = e.getData(CommonDataKeys.VIRTUAL_FILE_ARRAY);
    return files == null ? Stream.empty() : Stream.of(files)
      .filter(f -> f.isValid() && (f.getFileSystem() instanceof LocalFileSystem || f.getFileSystem() instanceof ArchiveFileSystem));
  }
private static Stream<VirtualFile> supportedFiles(AnActionEvent e)