anchor.diff:  -record(state, {previous_trace=[],
                   trace=[], 
                   replay=false,
  +                blocked_processes=[],
                   identifier=undefined}).
   
   -define(FILENAME, "/tmp/partisan.trace").
  
positive.code: 
  %%%===================================================================
  %%% Internal functions
  %%%===================================================================
negative.code:         false ->
              %% This is not a replay, so store the current trace.
              lager:info("~p: recording trace to file.", [?MODULE]),
              {ok, #state{trace=[], blocked_processes=[]}};
          _ ->
              %% This is a replay, so load the previous trace.
              lager:info("~p: loading previous trace for replay.", [?MODULE]),
  
              {ok, Bin} = file:read_file(?FILENAME),
              Lines = binary_to_term(Bin),
  
              lists:foreach(fun(Line) ->
                  lager:info("~p: ~p", [?MODULE, Line])
              end, Lines),
  
              lager:info("~p: trace loaded.", [?MODULE]),
  
              {ok, #state{previous_trace=Lines, replay=true, blocked_processes=[]}}
      end.
  
  %% @private
  