public static boolean compareFilesByName ( final File sourceFile , final File fileToCompare ) { return CompareFileExtensions . compareFiles ( sourceFile , fileToCompare , true , true , true , true , false , true ) . getNameEquality ( ) ; }
Compare files by name .