Add the validation check logic for url list file.

Add the validation check logic for url list file.