restore file to version without debugging stuff that got left in