while(nextRepresentation == null && (representations.hasNext() ||
vcards.hasNext() || files.hasNext())) {
if(representations.hasNext()){ //if more representations
nextRepresentation = representations.next(); //set next
} else { //else process the next vCard object
VCard nextVcard = null;
//Iterate while there are still more vCards or files
while(nextVcard == null && (vcards.hasNext() || files.hasNext())){
if(vcards.hasNext()){ //if there are more vCards
nextVcard = vcards.next(); //get next
} else { //parse the next file