merging directories