protected void persist(T object) throws IOException {
    logger.debug(
        "Persisting object [{}] to [{}]", object.getClass().toString(), persistenceFile.getName());

    StringTools.stringToFile(object.toPersistence(), persistenceFile, PERSISTENCE_FILE_ENCODING);
  }