we can get the dir content now

now need to solve the async problem