If I start editing a file and decide later that it was a mistake, I need a way to revert the file to its previous status.