if ( matchingPhotos != null && matchingPhotos.length > 0 ) {
// If yes then get the PhotoInfo and add this file as an instance with
// the same type as the one with same hash. If only PhotoInfo with no
// instances add as original for that
photo = matchingPhotos[0];
photo.addInstance( instance );
currentEvent.setResult( ExtVolIndexerEvent.RESULT_NEW_INSTANCE );
newInstanceCount++;
} else {
photo = PhotoInfo.create();
photo.addInstance( instance );