1 : A system for event-based parsing of an input file, comprising: a memory device for storing data in blocks, wherein each block has a plurality of words, wherein each word has an associated correction code for detecting recoverable and unrecoverable errors for the data stored in each word; a driver for receiving stored data from a block at a first location of the memory device, for correcting recoverable errors, and for generating a recoverable error signal when a recoverable error is encountered; and an operating system routine for receiving the recoverable error signal, and for directing the driver to rewrite information from the block, wherein the information is rewritten on the memory device at a second location in another block of the memory device.