Added writeFile()
Added writeFile()