def METHOD_NAME(self, cache_dir, name, receipt_number):
    """name of receipt with the highest version number"""
    self.output(
        "Checking for receipts in folder {}/local.jss.{}".format(cache_dir, name)
    )
    files = list(iglob("{}/local.jss.{}/receipts/*.plist".format(cache_dir, name)))
    files.sort(key=lambda x: getmtime(x), reverse=True)
    return files[receipt_number]