Document Restore

I think the worry is encrypting the document. The keys for that are the keys stored in the database.
You’d have to look but I suspect the file name hash is only a reference to the document for storage security.