Restoer file to original state