removing unnecessary parts from comparator
ignoring MAC OS X system files