write last GS5 TAG into file