write gml file from atomreshb.txt.