Tweak print in different file formats