Undo construction in various file formats