dataFactory.flush(t.getLastLogInstant());
// encrypt the container.
String newFilePath = getFilePath(ckey, false);
StorageFile newFile = storageFactory.newStorageFile(newFilePath);
containerHdl.encryptContainer(newFilePath);
containerHdl.close();
/*
* Replace the current container file with the new container file after