Parses CSV file. Checks valid headers and data using regex and test cases.