CsvReader now reads a csv file and extracts values from a line. A material object is created using these values.