122 - fixed null return for mimetype check
Merge branch 'issue122-mimetype-function-returns-null' into develop