You are creating a new file to store some log data. Each time a new log entry is necessary, you write a string to the file. Which method do you use?