let fs = require('fs'); files = fs.readdirSync(__dirname + '/guid/'); let replaceMenubox = `

LOLBACKTODO

` files.forEach(function (file) { var contents = fs.readFileSync(__dirname + '/guid/' + file, 'utf8'); const regex = /
`, `

`)); })