Provide validation for imported files
Switched type and mimeType validation
4.0.7