how to refrence to root dire in nodejs code example Example: nodejs fs root folder path global.__basedir = __dirname;