Add flatten-directory