// ... public void printWorkingDirectory(Path currentDirectory) { System.out.println(currentDirectory.toString()); } // ...