file comparator is now instantiated inside the cmp_thread which makes the ui snappier