private static boolean canCompare(@NotNull VirtualFile file1, @NotNull VirtualFile file2) {
    return !file1.equals(file2) && hasContent(file1) && hasContent(file2);
  }
private static boolean canCompare(@NotNull VirtualFile file1, @NotNull VirtualFile file2)