Consolidate csv data