Patent ID: 7003721

Claim:
A computer-implemented method for completing a file save operation by replacing original files with replacement files, comprising the steps: initiating the file save operation in response to creating the replacement files, wherein the replacement files comprise a main file in which at least one additional file is embedded; assigning a temporary name to each replacement file; saving the replacement files, each having a corresponding temporary name, from a volatile memory onto a permanent storage medium; creating a recovery file comprising information useful for replacing the original files with the replacement files in the event of a catastrophic failure that interrupts the file save operation; and replacing the temporary name of each replacement file with a corresponding final name to complete the file save operation, wherein the information of the recovery file comprises a list defining the temporary name and the final name for each replacement file, and wherein the method further comprises the steps: determining whether a catastrophic failure of the file save operation has occurred; if a catastrophic failure is detected, then determining if a present file name of one of the replacement files is identical to the corresponding final name listed in the recovery file; and if the present file name is not identical to the final name, then replacing the present filename of the replacement file with the final name listed in the recovery file.