store directory tree works