in FS.cpp, function File::read should return an unsigned int (aka size_t), however it returns a negative value (-1). https://github.com/esp8266/Arduino/blob/98125f88605cd7e46e9be4e1b3ad0600dd5d2b51/cores/esp8266/FS.cpp#L78 @igrr