def METHOD_NAME(self, cnt):
    root = os.path.join(*self._root)
    assert \
        len(os.listdir(root)) == cnt, \
        "Directory [%s] does not contain [%d] files" % (root, cnt)
    return self