'Context exit.
.. note::
This method will be invoked by the object server while servicing
the REST API *before* the object has actually been read. It is the
responsibility of the implementation to properly handle that.'

def __exit__(self, t, v, tb):

    if (self._fp is not None):
        (fp, self._fp) = (self._fp, None)
        fp.close()
