Trim headerRecords

Hi Josh, I've added a Trim when parsing the headerRecords. This caters for the following example: header1,   header2,  header3