check class of CSV