Fixed reading cache file