chapter04: listDirectory content