Add appropriate error messages for file upload
PR Follow-up
Merge pull request #52 from timdegroote/upload-errors

Add appropriate error messages for file upload