added initial comparator and xfile