Create ave.txt