Corrected the switch logic to avoid fall-through.
Abstracted to use getConvertFileShell.
Transition to using exceptions and consolidated test configurations.