if no filename is given will read off stdin by default
Merge pull request #2 from bryder/master

if no filename is given will read off stdin by default