private static void rollbackToOldFormatter(@NotNull File formatter, @NotNull File oldFormatter) {
    LOG.info("Update failed, rollback");
    try {
      FileUtil.rename(oldFormatter, formatter);
    }
    catch (IOException e) {
      LOG.info("Can't rollback formatter after failed update", e);
    }
    FileUtil.delete(oldFormatter);
  }
private static void rollbackToOldFormatter(@NotNull File formatter, @NotNull File oldFormatter)