code:         private @CheckForNull File getDirectChild(File parentFile, String childPath){
              File current = new File(parentFile, childPath);
              while (current != null && !parentFile.equals(current.getParentFile())) {
                  current = current.getParentFile();
              }
              return current;
          }
      }
  
      private static final SoloFilePathFilter UNRESTRICTED = SoloFilePathFilter.wrap(FilePathFilter.UNRESTRICTED);
  }
  