Added this->delete method when setting a new CacheFile - prevents duplicate cache files for the same data.