Output groups in annotation file