Partially implemented read directory and path splitting.