Implemented file & mem-cache.