The constructor initializes the internal object. The Dispose method closes the file resource. The destructor delegates to the Dispose method.