show proper error messages for invalid file input on import
Merge pull request #140 from sseago/import-validation

show proper error messages for invalid file input on import