     Serial.println("error opening for reading");
   }
 }
+#endif
 
 // Append float value to file
 void logToFile(char* filename, float value)

  }
}

void readFileToSerial(char* filename)
{
  // re-open the file for reading:

  pinMode(10, OUTPUT);

  if (!SD.begin(4)) {
    #ifdef SERIAL_OUTPUT
    Serial.println("initialization failed!");
    #endif
    return false;
  }
  #ifdef SERIAL_OUTPUT
  Serial.println("initialization done.");
  #endif
  return true;
}

