Association assoc = getFileAccociation(".txt");
Association newAssoc = new Association();
newAssoc.addFileExtension(FileExtensionFilter.getExtension(showFile));
Action openAction = new Action("open", assoc.getActionByVerb("open").getCommand());
newAssoc.addAction(openAction);
assocService.registerSystemAssociation(newAssoc);
shouldUnregister = true;
return true;