Use the Adapter Pattern to clean data from the CSV file up front