returned the file to its original state