Create average.txt