I have followed the instructions here and have setup webpack, but still couldn't use fs module to read the file.
Note: I am aware of open() function provided by k6 to read file but i want to check if the file exists before reading, because open() function throws go runtime error if file does not exist.