imports a csv file in a specific format, then calculates averages using unit marks