Java File

А файл существует?

File file = new File("path/to/file");
boolean exists = file.exists();

http://www.rsdn.ru/forum/java/284222.all