added cache for directroy listing.