Add CSV file logging