LittleFS filename conventions
/LittleFS is a great way to store files on your PICO or ESP powered embedded system. But it does have its foibles. Particularly when you switch from one platform to another. One thing that can trip you up is that on the ESP8266 and the PICO LittleFS the name method provided by a file object delivers the name of the file in the folder(test) but on the ESP32 LittleFS it delivers the file path to the file (\start\test).
I just discovered this while migrating the Connected Little Box code to the PICO. Iām putting this here so that I can find it again when I hit the same problem in a couple of years time.