Correctly prints files