Implements csv parsing and extraction