file path invalid in printout