For example if the input is:
513-assn.xml
CreditCardCheckDigitValidation.htm
calculator_2.jsp
code [directory]
dhtml_events_5.jsp
first_jsp_4 [directory]
first_jsp_4.jsp
first_jsp_5 [directory]
getting_started.jsp
jnotes.txt
luhn.xls
How to group each type of file separately?
Thanks a lot.