Rewrite CSV data loader