Use JDK8, remove duplicate file names when inputs and roots overlaps each other.