Replased allowed_mime_type to allowed_extensions