add some debug statements
recursions are nice but why not just use filepath.Walk