Adds code to detect if the csv is valid or not
Adds code to detect if the csv is valid or not
merge
Fixes bad var name