code: public void writeSBGN(Model model, String file) {
  		// Create the model
  		Sbgn sbgn = createSBGN(model);
  
  		// Write in file
  		try {
  			SbgnUtil.writeToFile(sbgn, new File(file));
  		}
  		catch (JAXBException e) {
  			throw new RuntimeException("writeSBGN, SbgnUtil.writeToFile failed", e);
  		}
  	}
docs: Converts the given model to SBGN, and writes in the specified file.
  
  @param model model to convert
  @param file file to write