use filepath.Walk, refactor a bit
Merge pull request #1 from pivotal-golang/walk

use filepath.Walk, refactor a bit