anchor.diff:          {ok, Fs} -> Fs;
           {error, _} -> []
       end,
  -    NewFiles = case lists:keytake(FileName, 1, Files) of
  +    NewFiles = case lists:keytake(FileName, 2, Files) of
           {value, _, NFs} -> NFs;
           false -> Files
       end,
  
positive.code:         {ok, Fs} -> Fs;
          {error, _} -> []
      end,
      NewFiles = lists:keystore(FileName, 1, Files, {FileName, FileContent}),
      case update_account(User, {files, NewFiles}) of
          ok ->
              logi(File, "[~p] files updated for user ~p~n", [Key, User]),
  
negative.code:     end,
      Self=self(),
      spawn(fun() ->
              {NewSessionHandle, Resp} = AdaptMod:process_cmd({Cmd, BodyJson}, Self, SessionHandle),
              gen_server:cast(Self, {resp, {NewSessionHandle, Resp, Parent}})
      end),
      {reply, deferred, State#state{resps=lists:keystore(Parent, 1, Responces, {Parent, undefined})}}.
  