def METHOD_NAME(file_path: str, loaders):
    loader = _get_loader(file_path, loaders)
    # escaping file_path to avoid fsspec treating the path as a glob pattern
    # fsspec ignores `expand=False` in read mode
    with fsspec.open(escape_file_path(file_path)) as file:
        return loader(file)