This is using Emscripten [virtual file API](https://emscripten.org/docs/api_reference/Filesystem-API.html).
Gets/puts file content on which the native module operates.
Only worker (one thread) operates on file using synchronous API - there should be no problems with locks/parallel access.