Editing files in zip bundle

Super new to Theia.

I’m trying to create an editor for a custom file format, which is actually a zip with multiple files in it. The filenames of the internal files are known.

When opening this bundle, I want to display a text editor for markdown(-ish) file inside the bundle. The bundle contains other files that contain information which I want to display and edit in another panel, similar to the outline view. I also want to use information in these auxiliary files for supporting custom LSP for autocompletion etc.

How should I go about architecting this? The first step should be to open a text editor for the internal markdown file when I open the zip - does anyone know of any good examples for something similar?