Adding a cache for downloaded files