from typing import Dict


def get_line_from_file(input_filename: str) -> Dict[int, int]:
    """
    Read comma seperated integers all on the same line
    """
    with open(input_filename) as input_file:
        list_of_nums = [int(num) for num in input_file.readline().split(",")]
        return {idx: list_of_nums[idx] for idx in range(0, len(list_of_nums))}