No need to adjust first line
Option to provide memory statistics

This is useful for testing the behavior of the buffering options.
Ensure we don't write to a closed file
Test buffer handling