boolean (VirtualFile fileName) { String nameWithoutExtension = FileUtilRt.getNameWithoutExtension(fileName.getName()); for (Theme theme : values()) { String extension = theme.getExtension(); if (extension != null && nameWithoutExtension.endsWith(extension)) { return false; } } return true; }