roll back file to previous state