merge the doc client file