Use 'media' as data-type instead of 'file'.