Hi all,
SD class overload "boolean exists(const String &filepath)" is missing.
String s;
#if defined(TEENSYDUINO)
if (!SD.exists(s.c_str()))
#else
if (!SD.exists(s))
#endif
/**
* Test for the existence of a file.
*
* \param[in] path Path of the file to be tested for.
*
* \return true if the file exists else false.
*/
bool exists(const String& path) {
return exists(path.c_str());
}