{
StorageFile backupFile = replace
? storageFactory.newStorageFile(
PersistentService.PROPERTIES_NAME.concat("old"))
: null;
StorageFile servicePropertiesFile = storageFactory.newStorageFile( PersistentService.PROPERTIES_NAME);
FileOperationHelper foh = new FileOperationHelper();
if (replace)
{
foh.renameTo(