anchor.diff:      end.
   
   deliver_small_file(CliSock, _Req, UT, Range) ->
  -    Fd = ut_open(UT),
  -    case Range of
  -        all ->
  -            Bin = ut_read(Fd);
  -        {fromto, From, To, _Tot} ->
  -            Length = To - From + 1,
  -            <<_:From/binary, Bin:Length/binary, _/binary>> = ut_read(Fd)
  -    end,
  +    Bin0 = ut_read(UT),
  +    Bin = case Range of
  +              all ->
  +                  Bin0;
  +              {fromto, From, To, _Tot} ->
  +                  Length = To - From + 1,
  +                  <<_:From/binary, Bin1:Length/binary, _/binary>> = Bin0,
  +                  Bin1
  +          end,
       accumulate_content(Bin),
  -    ut_close(Fd),
       deliver_accumulated(CliSock),
       done_or_continue().
   
  
positive.code:                 %seems unwieldy. just how much performance can it gain if we
                  %% end up using slower funcs like lists:flatten anyway?
                  %% review!.
                         url_type(lists:flatten(UT#urltype.dir) ++ [$/|Yfile],
                           ARG#arg.docroot, ARG#arg.docroot_mount)
          end,
  
  
negative.code:             ok
      end.
  
  skip_data(Bin, Sz) ->
      ?Debug("Skip data ~p bytes from", [Sz]),
      <<Head:Sz/binary, Tail/binary>> = Bin,
      {Head, Tail}.
  
  to_binary(B) when is_binary(B) ->
      B;
  