How to send data from ESP32 to Android App using bluetooth

The data has to be logged in a file format to view in the application

If you have the device connected to a computer, you can use the keyboard and mouse functions to print out the data into an application on the computer that could create a file. This is all I know.