Use line-by-line package instead of buggy line-reader