optimize getDomainFilePsiElements translation performance