def find_file(filename, path):
    for root, _, files in os.walk(path):
        if filename in files:
            return os.path.abspath(os.path.join(root, filename))
Find a file with name 'filename' located in 'path'.
dataset/ETHPy150Open openstack/neutron/neutron/tests/common/helpers.py/find_file