I assume you are talking about Windows? A typical "replace" actual creates a new file, deletes the old file, and then changes the directory listing to reference the new location. Thus any Windows undelete" utility should be able to recover the file, provided the disk sectors used by the replaced file have not been overwritten by other information.