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