fix handling multiple csv files