Allowed inputfile to be a path.
Merge pull request #4 from egyptianbman/master

Allowed inputfile to be a path.