def get_file(xl_file, old_sufix, new_sufix, tmp):
    """Return the .ll file name corresponding to the given .xl."""
    if xl_file.endswith(old_sufix):
        base = xl_file.rsplit(old_sufix, 2)[0]
    else:
        base = xl_file
    return '{}/{}{}'.format(tmp, base, new_sufix)