manually merging files