from typing import List


def load_names(path: str) -> List[str]:
    """Return a list of names from the given file."""
    print("Loading names...", end="", flush=True)
    with open(path) as text_file:
        names = text_file.read().splitlines()
        print("ok")
        return names