create output2txt method (#1)
Merge pull request #3 from Nebelhom/issue_1_txt

create output2txt method (#1)