     # The project calls this once it has checked for the file on disk; this
     # way the frontend knows that the syncstring has been initialized in
     # the database, and also if there was an error doing the check.
-    _set_initialized: (error, is_read_only, cb) =>
-        init = {time: misc.server_time()}
+    _set_initialized: (error, is_read_only, size, cb) =>
+        init = {time: misc.server_time(), size:size}
         if error
             init.error = "error - #{JSON.stringify(error)}"  # must be a string!
         else

                @_syncstring_table.wait
                    until : (t) => t.get_one()?.get('init')
                    cb    : (err, init) =>
                        @emit('init', err ? init.toJS().error)
                if err
                    cb(err)
                else

                    dbg("never edited before")
                    if locals.exists
                        dbg("path exists, so load from disk")
                        @_load_from_disk (err, size) =>
                            locals.size = size
                            cb(err)
                    else
                        cb()
            (cb) =>
