New provider

i think you should log the last `else` (no filename, no mimetype) and warn about something being wrong