integrated dir walker into python script