def _get_cached_file_name(bucket, saltenv, path):

    file_path = os.path.join(_get_cache_dir(), saltenv, bucket, path)

    # make sure bucket and saltenv directories exist
    if not os.path.exists(os.path.dirname(file_path)):
        os.makedirs(os.path.dirname(file_path))

    return file_path
Check networks count
dataset/ETHPy150Open saltstack/salt/salt/pillar/s3.py/_get_cached_file_name--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/checker.py/NetworkCheck.check_networks_amount