The initial question was how to add text from a memo to a textfile.
From a puristic perspective all solutions that first read the file in a buffer (TStringList or any other kind), then append the text to said buffer and then recreate the file, are undesirable because of the side effects (memory consumption, decreasing performance when the file grows, OS overhead in recreating the file).