Preconditions.checkState(open, "File closed");
RandomAccessFile fileHandle = checkOut();
boolean error = true;
try {
fileHandle.seek(offset);
byte operation = fileHandle.readByte();
Preconditions.checkState(operation == OP_RECORD);
TransactionEventRecord record = TransactionEventRecord.
fromDataInput(fileHandle);
if(!(record instanceof Put)) {
Preconditions.checkState(false, "Record is " +