took care of file print out