Added debug to cache file