Added writeFile function