more efficient method of micro-merging files