public void Close() { if (this.fileStream != null) { this.fileStream.Close(); this.fileStream = null; } }