node get location of current file code example Example: node get path of current file module.filename