split print header in bin and txt methods