@NlsSafe
  @Nullable
  @Contract("_ , !null, _ -> !null")
  public static String tryLoadFileOrReturn(@NotNull final File file,
                                           @Nullable @NlsSafe String defaultValue,
                                           @Nullable @NonNls String encoding) {
    try {
      return tryLoadFile(file, encoding);
    }
    catch (RepoStateException e) {
      LOG.warn(e);
      return defaultValue;
    }
  }
@NlsSafe
  @Nullable
  @Contract("_ , !null, _ -> !null")
  public static String tryLoadFileOrReturn(@NotNull final File file,
                                           @Nullable @NlsSafe String defaultValue,
                                           @Nullable @NonNls String encoding)