import json


def read_due_dates(filename):
    """Read due dates from data/input.json.
    Args:
        - filename (str): filepath to file containing the due date.
    
    Returns:
        - data (dict): the dictionary of due dates with key = job name (str), value = due date (int)
    """

    with open(filename) as f:
        data = json.load(f)
        data = data['workflow_0']['due_dates']

    return data