AE: Print the results to a text file