save file from previous commit