added logging features to csvReader