Going to need to see some more code there champ, that piece of code you posted looks good to me. "...blah.txt" doesn't need to exist for that line to compile, so your error is elsewhere. For example:
File testFile = new File("/home/captainmorgan/Desktop/testfile.txt");
try {
System.out.println("Successfully created on the desktop: " + testFile.createNewFile());
} catch (java.io.IOException ioE) {
System.out.println("Exception thrown biatch");
}
does just what I intended by creating the new file, so that line of code you have is currently and at this point irrelevant. And that error message you're getting is a little vague without seeing more code.