from typing import List


def read_number_list(input_file: str) -> List[int]:
    """Read a file of numbers and load the contents in a list

    Parameters
    ----------
    input_file : str
        input file

    Returns
    -------
    List
        List of integers
    """
    content = open(input_file).readlines()
    return [int(num) for num in content]