Add file adapter for Cache (+adaption of tests)