Added flag to prevent sub-directory search
Fixed issue where recursive search used findFile vs findFiles