create output2txt method (#1)

Addresses issue #1