Use csvreader instead of regex