The Hubigraph community app has been using file storage for its long term storage. It might be possible to figure out how it’s done by looking at its code. (The original developer left the platform some months back.)