Path (String bundleName) { Path bundleDirectory = Path.of(getCommunityHomePath() + "/plugins/textmate/testData/bundles", bundleName); if (Files.exists(bundleDirectory)) { return bundleDirectory; } return Path.of(getCommunityHomePath() + "/plugins/textmate/lib/bundles", bundleName); }