Работа с файлами / Базовые операции

//__filename is the file name of the current module
//__dirname is the directory name of the current module
console.log(__filename);
console.log(__dirname);