should i check the file format before processing? i mean in specifications it doesnt say any thing about doing so unless user selects -c option!!! cheers P.S. i was worried about nothing ... imean "-" option i hardly had to do any thing! :-) ===== deepak oberoi __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail