basic text/binary reading complete