def _qif_header_and_transactions_to_contents(header, transactions):
    """Given a QIF header block and a list of transaction blocks, combine into one text block."""
    return header + '\n' + ''.join([t + '\n^\n' for t in transactions])