Trying to solve the .txt file creation

It still hard tho.
I still have to add buttons and functions

Read and Write .txt files without overwriting it(done).