def METHOD_NAME(self, url, param, ctx):
    """Retrieve file from URL."""
    try:
        return urllib.request.urlopen(url, timeout=self.timeout_seconds)  # pylint: disable=consider-using-with
    except (urllib.error.URLError, urllib.error.HTTPError, timeout):
        self.fail(f'{self.name} "{url}" could not be reached within {self.timeout_seconds} s.\n', param, ctx)