private static void deleteLegacySharedFile(@NotNull String fileName) {
    try {
      String appdata = System.getenv("APPDATA");
      if (appdata != null) {
        File dir = new File(appdata, "JetBrains");
        if (dir.exists()) {
          File permanentIdFile = new File(dir, fileName);
          if (permanentIdFile.exists()) {
            //noinspection ResultOfMethodCallIgnored
            permanentIdFile.delete();
          }
        }
      }
    }
    catch (Exception ignored) { }
  }
private static void deleteLegacySharedFile(@NotNull String fileName)