SAP Interview Question

Read in a textfile containing single digit numbers and convert it into an integer array.