Create writeFile.js