adding filename for better error reporting
Merge pull request #8 from dominicbarnes/filename_for_errors

Adding filename for better error reporting