redicted output to file