while ((optype = logFile.read()) != Operation.COMMIT) {
// Gets all operations of one committed transaction then
// adds them to specified log.
dirName = logFile.readUTF();
if (dirName.length() == 0) dirName = null;
name = logFile.readUTF();
Object key = OperationKey.newKey(dirName, name);
Operation op = null;
if (optype == Operation.SAVE) {