Fix bug with filename-only option
Merge pull request #3 from predictivelogic/master

Fix bug with filename-only option