blobs can only be downloaded to the Download directory (now fixed in V2.3)
To get the file, the html has to be on a server - somewhere (although in more recent testing, things did appeaar to be working correctly for a local (in assets) html file on companion)
I used my text-doc-saf extension to read the file, the download happens "outside" the app so the app does not have any rights to view the file, unless you use saf. media files may behave differently.
If localhost is used (assets) for the same html file, it fetches the text directly to the browser. Not sure how this would work with other file formats.