Added helper to check for the existence of a a file in the cache