I am reading java documentation that tells me there should be a java.nio.file namespace. But when I attempt to import it the precompiler is complaining that it doesn\'t exist.
java.nio.file is coming in Java 7. It's not in Java 6 or before.
java.nio.file
You must be reading the JDK7 docs.
Until then, you're stuck with the steaming heap of unpleasantness that is java.io.File.