@Override
  public String getElementLocation(Object element) {
    if (element instanceof UsageInfo) {
      final PsiElement psiElement = ((UsageInfo)element).getElement();
      final PsiFile file = psiElement == null ? null : psiElement.getContainingFile();
      return file == null ? null : file.getPresentation().getPresentableText();//+-      // todo do smthg for invalid usage
    }
    if (element instanceof File) {
      return ((File)element).getParent();
    }
    return null;
  }
@Override
  public String getElementLocation(Object element)