Undo capfile