Writes the generated output to a file output.txt on the Desktop.
Works for German. Correctly writes German characters to the output file.