Set marking in different file formats