def import_data(path):
    """Import data from local file and returning as variable.

    Args:
        path (str): Path to local file

    Returns:
        str: Read data from local file
    """
    with open(path, "r", encoding="utf-8") as file:
        file_data = file.read().splitlines()
    file.close()
    return file_data