Cleaned code to allow multiple delimiter in command line arguements.