Merge and parse csv files via Python