impure function writeFile input String fileName; input String data; input Boolean append = false; output Boolean success; end writeFile;