to merge edm files