Add FileTypeComparator
Fixed error with getting the relative directory
Move StatusType to Common