PeakList thePeakList = new PeakList();
while ((theFileString = theFileReader.readLine()) != null) {
String[] theSplitedString = theFileString.split(theColumnSeparator);
thePeakList.addPeak(new PeakUnit(Double.parseDouble(theSplitedString[this.MW_INDEX]), Double.parseDouble(theSplitedString[this.INTENSITY_INDEX]), theInputFile.toString()));
}
return thePeakList;
}