fixed file compare bug : use canonical path