I have given a *.data file (packaged files) and a corresponding *.js file created by emcc ... --preload-file .... Is is possible to walk through this virtual file system and load file contents from JavaScript? Inside the *.js file there is code like
[...]
Module['FS_createPath']("/", ...);
[...]
loadPackage({"files": [{"filename": ...}]})
How to list all files and subdirs of a directory? How to get the content of a file in that virtual file system as a string?