changed it to output to txt files! (easy fix)