@Override
  public boolean accept(final @NotNull Project project, final @NotNull VirtualFile file){
    if (file instanceof ResourceBundleAsVirtualFile) {
      return true;
    }
    if (!file.isValid()) {
      return false;
    }
    FileType type = file.getFileType();
    if (type != PropertiesFileType.INSTANCE && type != StdFileTypes.XML) {
      return false;
    }

    return ReadAction.compute(() -> {
      if (project.isDisposed()) return Boolean.FALSE;
      final PsiFile psiFile = PsiManager.getInstance(project).findFile(file);
      PropertiesFile propertiesFile = PropertiesImplUtil.getPropertiesFile(psiFile);
      return propertiesFile != null &&  propertiesFile.getResourceBundle().getPropertiesFiles().size() > 1;
    });
  }
@Override
  public boolean accept(final @NotNull Project project, final @NotNull VirtualFile file)