changed file output names, added .txt suffix