code: public int compareTo(File another) {
          if (caseSensitive) {
            return this.getPath().compareTo(another.getPath());
          }
          return this.getPath().compareTo(another.getPath());
      }
docs: Returns the relative sort ordering of the paths for this file and the
  file {@code another}. The ordering is platform dependent.
  
  @param another
  a file to compare this file to
  @return an int determined by comparing the two paths. Possible values are
  described in the Comparable interface.
  @see Comparable