replaced "for .. in" with find, for better path-with-whitespace support