Tweak marking in different file formats