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))
Validates on the first, downward pass.
dataset/ETHPy150Open openstack/neutron/neutron/tests/common/helpers.py/find_file--crossover with--dataset/ETHPy150Open jek/flatland/flatland/schema/scalars.py/Scalar.validate_element