How about adding an SD card shield to your ESP?
Unfortunately, ESPHome doesn’t have support for this.
Luckily, someone has done this with Arduino: