implement analysis of CSV file