Read and Delete the 1st line from a text file

Okay let me try what your explaining me.

I don't know if posting my code will work out better so you can understand it.
With this code I can read the first line and print it to the serial monitor.

Thanks for your help.

File file;

void setup() {

Serial.begin(9600);
initializeSD();
openFile("1hour.txt");
Serial.println(readLine());
closeFile();
}

void loop() {
// put your main code here, to run repeatedly:

}

void initializeSD()
{
Serial.println("Iniciando SD...");
if(!SD.begin(4)){
Serial.println("No se puedo iniciar");
return;
}
}

void closeFile()
{
if (file)
{
file.close();
Serial.println("File closed");
}
}

//metodo que abre el archivo
int openFile(char filename[])
{
file = SD.open(filename);
if (file)
{
//Serial.println("File opened with success!");
return 1;
} else
{
Serial.println("Error opening file...");
return 0;
}
}

String readLine()
{
String received = "";
char caracter;
while (file.available())
{
caracter = file.read();
if (caracter == '\n')
{
return String(received);
}
else
{
received += caracter;
}
}
return "";
}