Check for file
I'm trying to ask the user for a file to use. If the file is found then the program continues, but if the file is not found the user is asked to enter the filename again and again until it's found. I assume I could do it with a loop, but I'm unsure of the condition to test for the file not found.
BufferedReader stdin = new BufferedReader(new InputStreamReader
System.in));
String filename = null;
do{
System.out.print("Please enter filename: ");
filename = stdin.readLine();
}while (file is not found?)
Any ideas?

