'Return the metadata for an object without requiring the caller to open
the object first.
:returns: metadata dictionary for an object
:raises DiskFileError: this implementation will raise the same
errors as the `open()` method.'

def read_metadata(self):

    with self.open():
        return self.get_metadata()
