Closing an open stream.
Flushing an open stream.
Writing to an open stream.
Writing a line separator to an open stream.