Wipe margin in various file formats