for root, dirs, files in salt.utils.files.safe_walk(__opts__['cachedir'], followlinks=False):
        for name in files:
            try:
                file = os.path.join(root, name)
                mtime = os.path.getmtime(file)