anchor.diff:                      V ->
                           searchgen(V, ClientId)
                   end,
  +    FileDir = basho_bench_config:get(file_dir, undefined),
  +    Files = case FileDir of
  +                undefined -> undefined;
  +                _ -> filelib:wildcard(FileDir ++ "/*")
  +            end,
   
       case Disconnect of
           infinity -> ok;
  
positive.code:         {error, Reason} ->
              {error, Reason, S2}
      end.
  
  %% ====================================================================
  %% Search Generator API
  
negative.code:     {ok, #state { client_id = ClientId,
                    base_urls = BaseUrls,
                    base_urls_index = BaseUrlsIndex,
                    files = Files,
                    path_params = Params,
                    solr_path = SolrPath,
                    searchgen = SearchGen }}.
  