Update writeFile() fn
0.1.1