redo previous commit by using byline package

redo line by line parsing using byline package as suggested by
https://github.com/heneryville in the pull request of original package