I'm pretty confused by your approach here. The inFile variable is a Scanner, right? So why are you comparing it to a String? That's not how you test the Scanner's input. I suggest reading the API as...