1. A storage device for storing a target file, the storage device comprising: a processor configured, in retrieving and executing program code of a wrapper application configured to protect data of the target file from damage, to: intercept at least one file command issued by another application, said at least one intercepted file command being operative to update the target file, and said wrapper application being independent of said other application; save update information pertaining to said at least one intercepted file command; detect a termination event after completion of saving the update information; and instruct a file system to copy a part, but not all, of the target file into a temporary file to store a copy of the part of the target file in the temporary file, to modify the temporary file by applying the update information to the copied part of the target file in the temporary file, to close the temporary file prior to updating the target file, and to update the target file according to the modified temporary file; a first memory space for storing the target file; and a second memory space for storing said update information, wherein the termination event results from a condition related to an update status of the target file, wherein the update status includes exceeding a time threshold since a previous update of the target file, and wherein the processor is further configured to update the target file by replacing the part of the target file with the updated temporary file.