1 2 3 4 5 6
public static void main(String[] args) { try (File file = new File("filename.txt")) { doit(processDefinition); } }