fix to validate with relative file path
Fix regex to consider upper directory like ../../test/foo/bar
Merge pull request #5 from addsict/file-validation

Fix to validate with relative file path