Great. Thank you for answering my questions. Know i can find everything i need :)
After i realise that the pico with an esp connected is not suitable for my idea, i bought a Wemos D1 mini pro with an mini sd shield. I like espruino so i flashed the firmware (esp8266_4MB) to it. Wemos D1 mini pro seems to have a flash of 16MB.
So the left 12MB are unused?
After some reading in github i saw (but i didn't understand the reason), that i can't use the sd shield with espruino.
Until now i didnt test it, but it seems to be possibile with nodemcu.