1. Opens cli file.
2. Searches cli file for commands, one by one.
3. If command is found, it checks for possible parameters or switches.
4. If switches are found, it executes the command specified in the cli file with the switches and/or parameters.
5. Checks for EOF, if not reached, it loops back to step 2.