This should be better
Adds mime for checking of mime types