import csv


def import_to_dicts(file_name: str = "Barnabys_sales_fabriacted_data.csv") -> list:
    """
    A function which imports the chosen CSV file into a list of dictionaries.

    :param file_name: str

    :return: orders: list
    """
    with open(file_name, mode="r") as csv_file:
        csv_reader = csv.reader(csv_file, delimiter=",")
        orders: list = []

        for row in csv_reader:
            order: dict = {"date": row[2], "quantity": row[5], "recipe": row[3]}
            orders.append(order)

        return orders