BUGFIX: mime_content_type is now checked for its existance before its called when identifying files