How do I get a java.io.File for a FileObject? Apache NetBeans Wiki Index/Apache NetBeans Developer FAQ FileUtil.toFile(FileObject fo) See this page in GitHub.