anchor.diff:  put_dir(Req, #state{filepath = Filepath, body = _Body} = State) ->
       case logical_files_manager:mkdir(Filepath) of
           ok -> %todo check given body
  -            Response = rest_utils:encode_to_json({struct, prepare_container_ans(State,?default_post_dir_opts)}),
  +            Response = rest_utils:encode_to_json({struct, prepare_container_ans(?default_post_dir_opts,State)}),
               Req2 = cowboy_req:set_resp_body(Response,Req),
               {true,Req2,State};
           {error, dir_exists} ->
  
positive.code:             end,
              case logical_files_manager:write(Filepath,RawValue) of
                  Bytes when is_integer(Bytes) andalso Bytes == byte_size(RawValue) ->
                      Response = rest_utils:encode_to_json({struct, prepare_object_ans(State,?default_post_file_opts)}),
                      Req2 = cowboy_req:set_resp_body(Response, Req),
                      {true,Req2,State};
                  Error ->
  
negative.code: -spec get_file(req(), #state{}) -> {term(), req(), #state{}}.
  %% ====================================================================
  get_file(Req, #state{opts = Opts, attributes = #fileattributes{type = "REG"}} = State) ->
      DirCdmi = prepare_object_ans(case Opts of [] -> ?default_get_file_opts; _ -> Opts end, State),
      case proplists:get_value(<<"value">>, DirCdmi) of
          {range, Range} ->
              Encoding = <<"base64">>, %todo send also utf-8 when possible
  