use dir to go backwad folder code example
Example: __dirname go back one directory
let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.