How to append to a text file in Prolog



Hi,
I want to ask a basic question: how can one append text to a text
file. tell/1 deletes the previous content of the file and I don't know
if there is any other predicate for this task.
Thank you,
Paul.
.