checkRemoteFileAvailable function

Check if a given remote file is available for download