Add CSV reading function