Refactored to use filepath.Walk instead