We should at least use a content hash based filename convention so the same file could be looked up from different hosts.
Nostr.build already does hash names:
https://nostr.build/i/ nostr.build_57d7f84a0d51fb6bfe97ad288dd6f54d1747ab2a915da56b8e2966a77e9f19bc.png.
But I think bech32 "file1234asdf..." would be even better.