changed file output for program