Added a printFile function

what am I even doing