lib/template-generator.js
function writeFile(filePath, fileContent, regex) {
	fs.writeFileSync(filePath, fileContent.replace(regex, ''));
}
function writeFile(filePath, fileContent, regex) {
	fs.writeFileSync(filePath, fileContent.replace(regex, ''));
}
function writeFile ( filePath , fileContent , regex ) { fs . writeFileSync ( filePath , fileContent . replace ( regex , '' ) ) ; }
Writes a file at the specified location and removes the specified strings
@param {string} filePath The path of the new file
@param {string} fileContent The contents of the new file
@param {RegExp} regex A regex with strings to be removed from the fileContent
@return {void} n/a
Writes a file at the specified location and removes the specified strings