@Override
  public boolean accept(@NotNull Project project, @NotNull VirtualFile file) {
    return TextEditorProvider.isTextFile(file)
           && SingleRootFileViewProvider.isTooLargeForContentLoading(file)
           && (Experiments.getInstance().isFeatureEnabled("new.large.text.file.viewer")
               && !file.getFileType().isBinary()
               && file.isInLocalFileSystem());
  }
@Override
  public boolean accept(@NotNull Project project, @NotNull VirtualFile file)