remove old files prior to loading the cache