private bool InitializeNewStream() { _stream = new FileStreamWrapper(_fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite | FileShare.Delete); _stream.Seek(0, SeekOrigin.End); _currentPosition = _stream.Position; // Seek back to the last line - if we don't do that we will miss the first written line var foundLine = _stream.SeekLastLineFromCurrentAndPositionOnStartOfIt(); if (!foundLine) { return(false); // There is no line feed - that is by definition wrong - so let's what has been written } _currentPosition = _stream.Position; return(true); }