In the main class the user enters text trying to find the file in the same directory as the source file.
The string gets passed into the constructer and a file object is made but the file isn't found.
The print statements are just to find out what is happening.
The commented out code makes no difference either way.
Generateresponse(String humanphrase){
//humanphrase += ".txt";
System.out.println("in new class");
//checks if file exists
File f = new File(humanphrase);
if(f.isFile()){
System.out.println("exists");