fixes Issue #2, remote file validation
Merge pull request #3 from Lockyc/master

Fix remote file validation