Use python to parse text file is a good solution.
There is a built-in INI object, so I try it first. Methods in INI object almost can be used in python, except for ForEachItem().
Finally, I mix python script and built-in event to solve it, but it is not perfect.
(run python script first)
keys = [/code:3rqwfxc2]
(then built-in event)
[code:3rqwfxc2]+ INI: For each item in group "group"
-> System: Run Script ("keys.append(INI.CurrentItem)")[/code:3rqwfxc2]
Another question, how to call sprite's 'destroy' method in python script?