public static boolean fileNameEquals(@NotNull File file, @NonNls @NotNull String name) {
    return fileNameEquals(file.getName(), name);
  }
public static boolean fileNameEquals(@NotNull File file, @NonNls @NotNull String name)