String (@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; } }