code: protected void snapshot(String fileName) throws Exception {
  	    configuration.save(new File(fileName));
          model.snapshotSessionDb(this.fileName, fileName);
  	}
docs: Synchronous call to snapshot a session.
  @param fileName
  @throws Exception