Adding stream option
Add test and supply output filename
Merge pull request #6 from bjornarg/stream

Stream