So, what you're saying you want is this:
You have a text file that contains a list of processes
You want to run a script that takes in that list of processes, and compares them to all of the current running processes on the system
If a match is found, you want an option to either kill the process or open (what do you mean by "open" it? if it's running, its already open)