I’m using nostr-tools under the hood which requires a File. Plus I do mostly frontend so I only needed browser support. Maybe later I’ll make it work for nodejs. https://github.com/nbd-wtf/nostr-tools/blob/master/nip96.ts
nostr-tools also uses FormData, so would have to either update nostr-tools or remove nostr-tools as a dependency