code: public static void mkdirs(final File outdir, final String path) {
          File d = new File(outdir, path);
          if (!d.exists()) {
              d.mkdirs();
          }
      }
docs: Creates directories from an existing file to an additional path.
  @param outdir Existing directory
  @param path Additional path