use burfio.ReadString and handle termination better