code: public String toFile() throws Exception {
          File file = File.createTempFile("GuiceDependencies_", ".dot");
          toFile(file);
          return file.getCanonicalPath();
      }
docs: Writes the "Dot" graph to a new temp file.
  
  @return the name of the newly created file