code: private boolean isValidFile(String s, Set<JavaFileObject.Kind> fileKinds) {
          JavaFileObject.Kind kind = getKind(s);
          return fileKinds.contains(kind);
      }
docs: container is a directory, a zip file, or a non-existent path.