populate data files after doing merge