Pass directories trough the front controller.