outputStream));
for (final String prop : props) {
writer.println(prop);
}
writer.close();
filePersistence = new FilePersistence(resourceName, true/* remove files */);
dataAccessSession = filePersistence.createExclusiveDataAccessSession();
filePersistence.setAutoSaveEventListener(this);
}