split directory creation