switch to bytebuf
Line based reads