def load_file(file: str) -> list:
    """
    Loads a list of frequency changes and returns a list of integers
    :param file: Name of file containing list of integers
    :return: Python list of integers in the file
    """
    with open(file) as f:
        frequency_string = f.read().split()

    frequency_list = [int(el) for el in frequency_string]

    return frequency_list