Possible/Not Possible? : Receive Data, Write a File, and Send the File

Hello, I am a student working on an ongoing project with MIT App Inventor and Arduino.

As a person who is just starting to learn about using the App Inventor, I wished to ask whether a particular goal of mine is in fact, realizable through the App Inventor.

My goal is as follows: ("app" denotes the MIT Inventor App on Mobile Device)

  1. Connect app to Arduino via Bluetooth

  2. Send text data from Arduino to app via Bluetooth

  3. While receiving the data, simultaneously write a separate file on mobile device that contains the sent data
    (Or instead of simultaneously writing a file, set a certain capacity limit to the sent data, after which a file would automatically be written)

Finally, send the file to a laptop via Bluetooth by touching a button.