caching all the files