[added] Getting lines from stream.