Documentation, writeFile function.