Check file download is valid