Patent ID: 7861048

Claim:
A method for processing a file, the method comprising: modifying the file, the file being stored on a storage medium having a plurality of memory clusters, thereby generating a modified portion of the file; wherein the file is stored in a portion of the storage medium using at least one initial memory cluster; allocating at least one modification memory cluster on the storage medium, the modification memory cluster comprising the modified portion of the file; after having modified the file, replacing the at least one initial memory cluster, in which the modification has been carried out, by the respective at least one allocated modification memory cluster; storing an indication information that the file has been modified and no regular shut-down of the storage medium has been carried out; when starting-up the storage medium, checking, whether the indication information is stored; and in case that the indication information is stored, carrying out an error correction program to either restore the file or the modified portion of the file using the at least one initial memory cluster or the at least one modification memory cluster, respectively.