private void detectedFile(DetectionType type, File file) {
		String name = file.getPath();
		if(name.endsWith(".xml")) {
			name = name.substring(0, name.lastIndexOf('.'));
			name = name.substring(name.lastIndexOf(File.separator) + 1);
			if(type == DetectionType.ORIGINAL || type == DetectionType.CREATE) {
				this.collection.addSubject(name, new SubjectFile(file));
			} else {
				this.collection.removeSubject(name);
			}
		}
	}