Please post an example of the text saved on the SD card and explain what you want the servo to do when the numbers are received. What is the relationship between the numbers and the servo positions ?
Do you know how to read the data from a file and print it on the Serial monitor ?
How many numbers need to be read into the array and what is the largest number ?