Removed file_get_mimetype function.