def locateGameDirs(filelist, root=os.curdir):
    toplevel = [folder for folder in os.listdir(root) if os.path.isdir(os.
        path.join(root, folder))]
fileset = set(filelist)
How to get progress of os.walk in python?