Write output to text files in addition to graphs.