'Guesses a container from the current object.'

def OpenAsContainer(self):

    if self.IsDirectory():
        return self
    else:
        return VFS_HANDLERS[rdf_paths.PathSpec.PathType.TSK](self, rdf_paths.PathSpec(path='/', pathtype=rdf_paths.PathSpec.PathType.TSK), progress_callback=self.progress_callback)
