Removed compareTo(Object) since compareTo(File) exists.