def METHOD_NAME(tokens_path: str):
    if not os.path.exists(tokens_path):
        return None
    tokens = [line.rstrip() for line in open(tokens_path, 'r').readlines()]
    return dict(zip(tokens, range(len(tokens))))