I have already created a file with information, if I need to add a couple more lines to it, then according to the documentation it says so
When the output file is open, any previously existing file with the same name is destroyed.
So if you need to add lines to an existing file, then you need to open the input stream, write everything from the existing file somewhere to the buffer, then add to it what you need and write a new file?
Or is there a smoother solution?