from typing import List
from typing import Dict
import csv


def get_local_csv(file: str) -> List[Dict[str, str]]:
    """Load domains from a local CSV file."""
    with open(file) as csv_file:
        csv_lines = [line.rstrip() for line in csv_file.readlines()]

    return list(csv.DictReader(csv_lines))