Support resources in nested diretories