boolean (File parent, File child) { // strict here will ensure that for case insensitive file systems paths different only by case will not be treated as ancestors // of each other which is what we need to perform renames from one case to another on Windows final boolean isAncestor = FileUtil.isAncestor(parent, child, true); if (isAncestor) { childrenOfSomebody.add(child.getPath()); } return isAncestor; }