Added the writeFile() function.