How to control Servo from text file in SD Card ?

Now I want arduino to read this test file

There is an example that comes with the SD library that reads a file.

It is up to YOU to modify that example, to store the data being read, and to recognize when the character read is an end of record marker, and to do something with the stored data when the character IS the end of record marker (if there is stored data).

Storing the character is easy.

char record[80];
byte index = 0;
   char c = someFile.read();
   if(c != '\r' && c != '\n') // Don't store the carriage return or line feed
   {
     if(index < 80) // Make sure that there is room to save the data
     {
        record[index++] = c;
        record[index] = '\0'; // Add a NULL at the end
     }
   }
   else
   {
      // Use the stored data

      // Reset for the next record
      index = 0;
      record[index] = '\0';
   }

Using the stored data is easy.

   int pos = atoi(record);
   someServo.write(pos);

What it appears that you are trying to do is replay a series of movements that the servo went through, BUT the servo initially moved through those positions at discreet times, with distinct intervals between the movements. You do not have that timing information, so you will not be able to replicate the initial movement.