Populate missing CSV header fields using a sequenced template