convert to using hGetCRLFLine