code: public static void writeModel(@NonNull Model model, @NonNull File file, boolean saveUpdater) throws IOException {
          writeModel(model,file,saveUpdater,null);
      }
docs: Write a model to a file
  @param model the model to write
  @param file the file to write to
  @param saveUpdater whether to save the updater or not
  @throws IOException