Changed readFile to java-based read function to handle \r\n, fixes docs and test...