By Hemanta Sundaray on 2022-08-12
__dirname is an environment variable that tells us the absolute path of the directory containing the currently executing file.