anchor.diff:                              Filtered
                       end
                       end, [], GrossPreflists),
  -    case open_logs(LogFile, Preflists, 1, dict:new()) of
  +    lager:info("preflists: ~p", [Preflists]),
  +    case open_logs(LogFile, Preflists, dict:new()) of
           {error, Reason} ->
               {error, Reason};
           Map ->
  
positive.code:         {ok, Log} ->
              {ok, Log};
          error ->
              lager:info("Preflist to map return: no_log_for_preflist: ~w~n",
                         [LogId]),
              {error, no_log_for_preflist}
      end.
  
  
negative.code: %%      Return:         LogsMap: Maps the  preflist and actual name of
  %%                               the log in the system. dict() type.
  %%
  -spec open_logs(string(), [preflist()], dict()) -> dict() | {error, reason()}.
  open_logs(_LogFile, [], Map) ->
      Map;
  open_logs(LogFile, [Next|Rest], Map)->
      PartitionList = log_utilities:remove_node_from_preflist(Next),
      PreflistString = string:join(
              lists:map(fun erlang:integer_to_list/1, PartitionList), "-"),
      LogId = LogFile ++ "--" ++ PreflistString,
      LogPath = filename:join(
                  app_helper:get_env(riak_core, platform_data_dir), LogId),
      case dets:open_file(LogId, [{file, LogPath}, {type, bag}]) of
          {ok, Log} ->
              lager:info("Opened log: ~p", [LogId]),
              Map2 = dict:store(PartitionList, Log, Map),
              open_logs(LogFile, Rest, Map2);
          {error, Reason} ->
              {error, Reason}
      end.
  
  %% @doc get_log_from_map: abstracts the get function of a key-value store
  %%              currently using dict
  %%      Input:  Map:  dict that representes the map
  %%              LogId:  identifies the log.
  