Fixed restore method
Get historical caches to a file