Changing error message to report filename not path

issue #49
Merge pull request #51 from ErisDS/filename-fix

Changing error message to report filename not path