RecurseSubdirectories converted to a generator
Tests added for RecurseSubdirectories