cacheManager function

Function that return a possibly cached file, transparently downloading it if missing