__dirname & __filename (Node.js)

__dirname is the absolute path of the directory containing the current module, and __filename is the full path of the current file. They let you reference…