Strip comment, log file, better print