Ok i tested it now and it works very well.
Now it would be cool to show and edit the text file within the browser similar to my screenshot:
Showing the file with a Webview url is not a big deal, but easy editing is. I found html and js code to do the job, but for security reasons you can not load the file directly from disk, but always have to use a manual input mask:
It would be cool just to have a save button. Any idea how to implement this without exposing my whole disk to the browser?