code: function storeFileToDiskSync(i_oFile) {
      var l_sDirname = path.dirname(i_oFile.filename),
          l_sFilename,
          l_oStats,
          l_oBuffer;
  
      console.log("File name: ", i_oFile.filename, " size: ", i_oFile.header.unpackedSize);
      console.log("Saving content of file ");
  
      l_sDirname = path.dirname(i_oFile.filename);
      l_sFilename = path.join(__dirname, path.basename(i_oFile.filename));
      l_oBuffer = new Buffer(i_oFile.fileData); // filedata is Uint8Array
  
      fs.writeFileSync(l_sFilename, l_oBuffer);
  }
docs: ==============================================================================