static directories mechanism