Adding recursive to the directory resource.