Look at your inputCommandFile method. You still have it defined to throw an exception but never use a try-catch block or throw anywhere in it.

Your most recent snipped of code breaks out of the...