Strategy: Moved BadConfigFileException throwing outside of the for loop.  In previous iteration, it would throw an exception whenever the action wasn't the first possible action.