Adding read stream util
Handling end correctly
Merge pull request #33 from wpreul/master

Adding read stream util