adding files to cache