anchor.diff:  %%--------------------------------------------------------------------
   %% @private
   %% @doc
  -%% Checks whether file_meta of file FileName (which is child of
  -%% file associated with ParentCtx) exists in onedata filesystem.
  -%% @end
  -%%--------------------------------------------------------------------
  --spec get_child(file_meta:name(), file_ctx:ctx()) ->
  -    {ChildCtx :: file_ctx:ctx(), NewParentCtx :: file_ctx:ctx()} | {error, term()}.
  -get_child(FileName, ParentCtx) ->
  -    RootUserCtx = user_ctx:new(?ROOT_SESS_ID),
  -    file_ctx:get_child(ParentCtx, FileName, RootUserCtx).
  -
  -%%--------------------------------------------------------------------
  -%% @private
  -%% @doc
   %% Checks whether given file on given storage is already imported to
   %% onedata filesystem.
   %% @end
  
positive.code:                                 size = Size,
                                  blocks = [#file_block{offset = 0, size = Size}]
                              }}} ->
                              {FileCtx0, _} = get_child(FileName, ParentCtx),
                              maybe_import_file_with_existing_metadata(Job2, FileCtx0);
                          _Other ->
                              {FileCtx0, _} = get_child(FileName, ParentCtx),
                              {processed, FileCtx0, Job2}
                      end
              end
      end.
  
negative.code:     data = #{
          file_name := FileName,
          parent_ctx := ParentCtx,
          storage_file_ctx := StorageFileCtx,
          space_id := SpaceId
  }}) ->
      {#statbuf{st_mode = Mode}, StorageFileCtx2} =
          storage_file_ctx:get_stat_buf(StorageFileCtx),
  