Fixed the Py 2/3 library import issue. This still reads line by line, rather than one single read though...