modified getMostSimilar files