def get_numbers(files: list) -> list:
    """Get numbers

    Can take a list returned by :meth:`get_filenames` and make
    an integer list of the numerical parts of the file names.

    Args:
        files: List of segmented file names.

    Returns:
        List of integers from file names in numerical order.
    """
    numlist = []
    for file in files:
        numlist.append(int(file[1]))
    return numlist