#ifndef FILEUTILS_H
#define FILEUTILS_H
+
+#ifndef ON_DEVICE
+
/**
* @brief Utility function to save data to a file. This method takes a preferred name, but if that
* file already exists, it tries with another name until it finds something suitable.
* @return
*/
-int loadFile(const char *fileName, void* data, size_t datalen);
+int fileExists(const char *filename);
+#endif //ON_DEVICE
/**
* Utility function to print to console. This is used consistently within the library instead