1st step to support sub directories