@Deprecated
    public static boolean checkThisIsAncestorOfOrSameAsThat(File ancestor, File child) {
        if (ancestor.equals(child)) {
            return true;
        }
        return checkThisIsAncestorOfThat(ancestor, child);
    }
Utility class to handle some common issues when
reading from and writing to a file system (FS).
tika-batch/src/main/java/org/apache/tika/batch/fs/FSUtil.java