implement merging of csvs