Undo shape in various file formats