options affects how the path / URL of the stream is interpreted, safe mode checks and actions taken if there is an error during opening of the stream.
Open text file for reading and writing. The file is created if it does not exist. The stream is positioned at the end of the file.