def METHOD_NAME(fname, return_group=False):
    fname =  base_dir / 'examples' / 'xafsdata' / 'beamlines' / fname
    group = read_ascii(fname)
    cls = guess_beamline(group.header)
    bldat = cls(group.header)
    labels = bldat.get_array_labels()
    print(fname, cls.__name__, len(labels), group.data.shape, labels)
    if return_group:
        return bldat, labels, group
    else:
        return bldat, labels