Added exception handling for csv parser errors