public static void writeToFile(@NotNull File file, byte @NotNull [] content, boolean append) throws IOException {
    writeToFile(file, content, 0, content.length, append);
  }
public static void writeToFile(@NotNull File file, byte @NotNull [] content, boolean append)