Wouldn't it be nicer and more flexible to allow people to specify the seperator? I like the idea of essentially slurping the files in and specifying the break as a NEWLINEgoNEWLINE as you did, but I think that a semi-colon is more common.
I realize that the stated assumption was that the statements end with a 'go', but it would be such a minor change to make it so much more flexible.