How are you using the Scanner class and its methods? Post code that compiles and executes to show your problem. For testing use a String in the code for input instead of having a file.
String...