Add print of results to a file.