Isn't the fact that you're modifying a file a pretty strong heuristic indication that you want to keep it?