@Deprecated
  public static void write(@NotNull Parent element, @NotNull File file, @NotNull String lineSeparator) throws IOException {
    FileUtilRt.createParentDirs(file);

    try (OutputStream stream = new BufferedOutputStream(new FileOutputStream(file))) {
      write(element, stream, lineSeparator);
    }
  }
@Deprecated
  public static void write(@NotNull Parent element, @NotNull File file, @NotNull String lineSeparator)