gauss: make and write freq tables to txt files