Bring Node inline with ESM using the __dirname and __filename variables that allow you to import source files outside of your code.
__dirname
__filename