console.log(__dirname); console.log(__filename); console.log(__filename.replace(__dirname, ''));