fix clang warning
convert more examples to use CSVFile