Cleanup CSV file