Updates RecordFile to manipulate temporary file.