.txt file transfer from ESP32 flash memory to Mobile Application via BLE

Hi, I am currently trying to transfer a .txt file saved in the flash memory of my mcu to a custom mobile application via bluetooth. However, I am confused as to how to proceed with the same as most examples deal with transferring a file from the SD card and not from the flash memory directly. Could anyone let me know how to proceed? Thanks!