support piping the file to stdin in the CLI
Merge pull request #6 from vesln/add/stdin

support piping the file to stdin