check current file path in fs module node.js code example Example: node get path of current file module.filename