[tests] implement general filewalker