added file printout