Updated file cache manager to ensure directories are filtered after theme is loaded, allowing themes to apply the filters.