Checking __dirname and process.cwd