.keySet())
files.put(type, new ArrayList<String>());
for (MassCandidate m : e.getValue()) {
String fileName = m.getDataFile().getName();
SpectrumType type = m.getIonizationType();
if (!files.get(type).contains(fileName))
files.get(type).add(fileName);
averageRT += m.getRetentionTime();