writefile(filename, content)
Writes the given content to a file, overwriting it or creating it if it doesn’t exist.