Hello!
I am making a simple concordance program in BlueJ. Whenever I run the program I get the print statements but it always says the text file is missing. Here is what I have so far:

import java.io.*;
import java.util.*;

public class Concordance
{
public static void main(String[] args) throws FileNotFoundException{

ArrayList<String> aWords = new ArrayList<String>();

try{
File testFile = new File("testFile.txt");
Scanner in = new Scanner(testFile);

while(in.hasNext()){
String word = in.nextLine();
aWords.add(in.next());
}
}catch(IOException e){
System.out.println("File testFile.txt was not found.");
}

System.out.println("Initial text:");

for(int i = 0; i < aWords.size(); i++){
//String temp = words.get(i);
char ch = aWords.get(i).charAt(0);
if(ch == 'A'){
String temp = aWords.get(i);
aWords.add(temp);
}
}

System.out.println("The Text Sorted Out:");
Collections.sort(aWords);
for(int i = 0; i < aWords.size(); i++){
System.out.print(aWords.get(i)+" ");
}

}
}

Thank you in advance for reviewing this!