anchor.diff:      ets:insert(ls_sub_cache_name(), {{DirId, size}, TotalChildrenCount}),
       % Cache the total chunk count
       ets:insert(ls_sub_cache_name(), {{DirId, chunk_count}, ChunkCount}),
  +    % Cache the last number of chunks served to gui
  +    ets:insert(ls_sub_cache_name(), {{DirId, last_children_count}, 0}),
       % Cache a placeholder for new files created during this session
       ets:insert(ls_sub_cache_name(), {{DirId, 0}, []}),
       % Insert the chunks into the ETS
  
positive.code:     ok.
  
  
  add_new_file_to_cache(FileId, DirId) ->
      [{{DirId, size}, CurrentSize}] = ets:lookup(
          ls_sub_cache_name(), {DirId, size}
      ),
  
negative.code:                 {ok, DirId} = logical_file_manager:mkdir(SessionId, Path),
                  DirId
          end,
          {ok, FileData} = add_new_file_to_cache(SessionId, FileId, ParentId),
          gui_async:push_updated(<<"file">>, FileData),
          file_record(SessionId, FileId)
      catch Error:Message ->
          ?error_stacktrace(
  