Java now reads in a buffer instead of per line