public class TranslationUtil {
static public VirtualFile[] getDomainFilePsiElements(Project project, String domainName) {
DomainMappings domainMappings = ServiceXmlParserFactory.getInstance(project, DomainMappings.class);
List<VirtualFile> virtualFiles = new ArrayList<VirtualFile>();
for(DomainFileMap domain: domainMappings.getDomainFileMaps()) {
if(domain.getDomain().equals(domainName)) {
VirtualFile virtualFile = domain.getFile();
if(virtualFile != null) {
virtualFiles.add(virtualFile);
}