/**
   * Write the given model to a file with the given name.
   *
   * @param model the model to write to a file.
   * @param sFileName the name of the file to write to.
   * @throws FileNodeFountException if a new FileOutputStream cannot be created.
   * @throws IOException if the FileOutputStream cannot be closed.
   */
  public void writeFile(com.hp.hpl.jena.rdf.model.Model model, String sFileName)
      throws FileNotFoundException, IOException {

    FileOutputStream out = new FileOutputStream(sFileName);
    model.write(out, "N3"); // $NON-NLS-1$
    model.close();
    out.close();
  }