Fix for issue #247, file not displayed on error.
Tiny cleanup
Merge pull request #248 from simplybusiness/master

Fixes issue #247