merge directories.py