file.format(), file.rename(), file.remove() and even file.write() executed properly without errors, but reading the files back always revealed the old content. It really drove me crazy
Reflashing nodemcu solved the issue...
Anybody ever experienced this, too?