def METHOD_NAME(fname):
    path_to_test_yml_files = Path(__file__).parent / "conversion_specifications"
    schema_folder = path_to_test_yml_files.parent.parent.parent / "src" / "neuroconv" / "schemas"
    specification_schema = load_dict_from_file(file_path=schema_folder / "yaml_conversion_specification_schema.json")
    sys_uri_base = "file://"
    if sys.platform.startswith("win32"):
        sys_uri_base = "file:/"
    yaml_file_path = path_to_test_yml_files / fname
    validate(
        instance=load_dict_from_file(file_path=yaml_file_path),
        schema=load_dict_from_file(file_path=schema_folder / "yaml_conversion_specification_schema.json"),
        resolver=RefResolver(base_uri=sys_uri_base + str(schema_folder) + "/", referrer=specification_schema),
    )