Clear the list and add name of student having current maximum average score in the list
names . Clear ( ) ; names . Add ( file [ i ] ) ; } else if ( avgScore = = maxAvgScore ) names . Add ( file [ i ] ) ; }