File validation modified
Merge pull request #22 from SupunS/master

File validation modified