updated SimilarityService.java: id=file