private void createContentTypeEntry(@NotNull String uri) throws OSFileAssociationException {
    PListBuddyWrapper buddy = new PListBuddyWrapper();
    buddy.runCommand(PListBuddyWrapper.OutputType.DEFAULT,
                     "Add LSHandlers:0 dict",
                     "Add LSHandlers:0:LSHandlerContentType string " + uri,
                     "Add LSHandlers:0:LSHandlerRoleAll string " + myBundleId);
  }
private void createContentTypeEntry(@NotNull String uri)