This demo demonstrates a webassembly program creating a directory and a file (if they do not exist yet) and read data from that file.
The filesystem is provided in the browser using ZenFS, the successor of BrowserFS.
The Pascal I/O and the WASI API are synchronous, so only a synchronous filesystem can be used.