working on local cache file