Side note for @chilly-france-44439 and @wide-doctor-37830 - some of the file mapping in my last PR may be useful for you in the EventStore.
Key Points:
• Filtering by file name where possible - so the list command to the OS is a single operation
• Sorting by file name
• Pagination before file read (possible due to sort by file name) - so only the current page content is read from the file system (aside from the file name)