Modify marking in various file formats