/**
   * Starts the asynchronous loading of the file to edit. and sets the state to {@link
   * Editor#LOADING}.
   */
  void fireFileLoading() {
    long size = 0;
    if (fileAnnotation != null) size = fileAnnotation.getFileSize();

    // fileID can be annotationID if fileName is null
    // E.g. if EditorModel(long annotationID) was the constructor.
    currentLoader = new FileLoader(component, ctx, fileName, fileID, size);
    currentLoader.load();
    state = Editor.LOADING;
  }