Report question

Question: Erlang: How to write my outputs in a text file?