readline, read line by line stream