Adding directory resource