Wrapper function to cache files only if a newer version exists

cache_files()