added defaultMimeType