There are two checks against this value, can the this section be combined with the previous so the check only has to occur once. For example could `"unnamed_data"` be returned from `_getFilenameMatch` or introduce a method that wraps them both? Same with assignment to `fileExtensionFromUrl` perhaps `_getFileExtensionMatch` and `_extensionFromMimeType` can be wrapped?