yeah, a filename->hash index would be a good start... and it probably can be merely 8 bytes of the hash prefix without much chance of collision, 16 pretty much certain to have no problem
Look, I am not going into details of the implementation, you can look it up on GitHub, but as I said, that does not fit with the use case that NB accounts provide. Yes we have hash and yes I can make a mapper to fetch based on it, and no I will not make it because it violates principles of design and user experience for the account uploads case. 🐶🐾🫡