public static void Clear( ) { if ( _fileStream != null ) { _fileStream.Flush( ); _fileStream.Close( ); _fileStream = null; } } }