I m building command line websocket test with NodeJs.
I define filestream at the top of the file
const fs = require(\'fs\'); let writeStream = fs.creat