[exsync] modified method for compare files