__dirname remonte à un répertoire

let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
lukfd