Write the complete file or appends to the file.
General file hints here.
There are two ways configure the file name