add g.scandir