library and command line tool that validates a CSV file, logging any problems