Used file adapter for metadata caching instead of memory adapter.