1. A computer-implemented method for completing a file save operation by replacing original files with replacement files in an HTML document, comprising the steps: initiating the file save operation in response to creating the replacement files in the HTML document, 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 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; determining whether a catastrophic failure of the file save operation has occurred; if a catastrophic failure is detected, then determining if a present filename of one of the replacement files is identical to the corresponding file name listed in the recovery file; and if the present filename 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.