generate annotation file