Replacing Streams interface for FS.readFile to load assets in the Node.js module