Added comparator

Added comparator for right file names comparing