Java code to find extreme (largest) file Uses depth first search to find largest file. If two files exist with same size, returns the file with largest path length. If both files files have same size and path length, it returns the file that was found last.