fixes Issue #2, remote file validation