boolean isAdditiveLoad) throws IOException, ObservationReadError {
this.getProgressNotifier().notifyListeners(ProgressInfo.START_PROGRESS);
// Analyse the observation file.
ObservationSourceAnalyser analyser = new ObservationSourceAnalyser(
new LineNumberReader(new FileReader(obsFile)), obsFile
.getName());
analyser.analyse();
// Task begins: Number of lines in file and a portion for the light
// curve plot.
int plotPortion = (int) (analyser.getLineCount() * 0.2);
this.getProgressNotifier().notifyListeners(
new ProgressInfo(ProgressType.MAX_PROGRESS, analyser
.getLineCount()
+ plotPortion));
NewStarFromFileTask task = new NewStarFromFileTask(obsFile, analyser,
plotPortion, isAdditiveLoad);