Patent ID: 7464104

Claim:
A method for loading a data file including at least one portion, the method comprising: attempting to load the at least one portion of the data file in a first mode, wherein attempting to load the at least one portion comprises; initializing a skip counter to identify each of the at least one portions that can be skipped, and performing integrity checking on each of the at least one portions; determining in the first mode whether a portion of the at least one portion is unloadable, wherein determining in the first mode whether the portion of the at least one portion is unloadable comprises determining whether a current mode is at least one of the following: normal mode and safe mode; and in response to determining that the portion of the at least one portion is unloadable, flagging the skip counter to indicate that the unloadable portion can be skipped, switching to a second loading mode, and attempting to load the data file in the second mode wherein additional integrity checking is performed on each of the at least one portions, wherein loading of each unloadable portion and loading of each portion related to each unloadable portion are skipped, wherein while attempting to load the data file in the second mode determining whether the unloadable portion may be repaired, and in response to determining that the unloadable portion may be repaired, repairing the unloadable portion, unflagging the skip counter, and loading a repaired portion.