private Bundle fromTextMateBundle(File directory) throws IOException {
    File infoPlist = new File(directory, Constants.BUNDLE_INFO_PLIST_NAME);
    if (infoPlist.exists() && infoPlist.isFile()) {
      final Plist plist = myPlistReader.read(infoPlist);
      final String bundleName = plist.getPlistValue(Constants.NAME_KEY, directory.getName()).getString();
      return new Bundle(bundleName, directory.getPath(), BundleType.TEXTMATE);
    }
    return null;
  }
private Bundle fromTextMateBundle(File directory)