Writing in .txt

Write results in txt