def METHOD_NAME(self, event, reply):
    """ handles an 'Open With...' event"""
    urls = []
    filelist = event.paramDescriptorForKeyword_(aeKeyword(keyDirectObject))
    numberOfItems = filelist.numberOfItems()
    for i in range(1, numberOfItems + 1):
        fileAliasDesc = filelist.descriptorAtIndex_(i)
        fileURLDesc = fileAliasDesc.coerceToDescriptorType_(aeKeyword(typeFileURL))
        fileURLData = fileURLDesc.data()
        url = memoryview(fileURLData.bytes(), 0, fileURLData.length())
        url = str(url)
        util.idle_add(self.gp.on_item_import_from_file_activate, None, url)
        urls.append(str(url))
    print(("open Files :", urls), file=sys.stderr)
    result = NSAppleEventDescriptor.descriptorWithInt32_(42)
    reply.setParamDescriptor_forKeyword_(result, aeKeyword('----'))