allow appended files to be reverted as well