evaluation writes to text file