Add marking in different file formats