@Deprecated
  public static void writeDocument(@NotNull Document document, @NotNull File file, String lineSeparator) throws IOException {
    write(document, file, lineSeparator);
  }
@Deprecated
  public static void writeDocument(@NotNull Document document, @NotNull File file, String lineSeparator)