DONE WITH ASSIGHMENT 2
Validate file