updated output of createTable to be txt not csv