anchor.diff:                              config:= Config,
                               start_time:= StartTime,
                               finish_time:= FinishTime,
  -                            metrics:= MetricsMap}) ->
  +                            metrics:= MetricsMap,
  +                            metrics_file:= MetricsFile}) ->
       try
           BenchTime = FinishTime - StartTime,
           Links =
  
positive.code:             fun (F) ->
                  {ok, Bin} = file:read_file(local_path(F, Config)),
                  {list_to_binary(F), <<"image/png">>, Bin}
              end, AttachFiles),
          lists:foreach(
              fun (Addr) ->
                  lager:info("Sending bench results to ~s", [Addr]),
  
negative.code:     ok = file:write_file(local_path("params.bin", Config), InputBin),
      erlang:process_flag(trap_exit, true),
  
      LogFile = local_path(get_env(bench_log_file), Config),
      {ok, LogHandler} = file:open(LogFile, [write]),
  
      MetricsFile = local_path(get_env(bench_metrics_file), Config),
      {ok, MetricsHandler} = file:open(MetricsFile, [write]),
  
      State = #{
  