split directory