Remove scandir lib, use os.walk