Parsing and file record appending methods