Added writeFile.js to file-io