Merge for the final file