getting redis directories