StringBuilder spacer = new StringBuilder(); // padding with depth length of space befor line print
for(int i=0; i < depth ; i++)
spacer.append(" ");
if(head.isContainer()){
ABCSongTagContainer tempContainer = (ABCSongTagContainer)(head);
result.append(spacer + head.toString() + System.lineSeparator());
Iterator iterator = ((ABCSongTagContainer)(head)).iterator();
while(iterator.hasNext()){