avoid double memory usage in CSVFile