caching in file