Add option to use stdout rather than file
Merge pull request #14 from meducation/stdout

Add option to use stdout rather than file