Enhanced fileComparator