Added a function which parses the csv file and records a list of variants found in each sample.