Support multi level directory