traverse a directory with c function for lua using
test c userdata with gc