The for-each loop just lets you loop the multi files if someone drags say 5 instead of 1, also the switch loop helps prevent ram over head as it's disposing it's self every time unlike a if statement, In the if statement I use tolower cause sometimes it is like TxT so it cannot equal txt adding tolo...