User Activity

I need to parse a CSV file that has header and trailer records throughout the file in unpredictable locations. What would be the best way to try and do this? Unfortunately these records do not have the same number of data elements as the data record...
Kudos from