def read_paths(path):
    """Return a list of paths found in the file at path."""

    old_paths = []
    with open(path, "r", encoding="utf-8") as in_file:
        for line in in_file:
            old_paths.append(line.strip())
    return old_paths