prog 16.4
enumerating directory