private static File[] chooseMultipleSwing(String title, File initialDirectory, final FilenameFilter filter) {
JFileChooser fileChooser = getJFileChooser(title, initialDirectory, null, filter, JFileChooser.FILES_ONLY);
fileChooser.setMultiSelectionEnabled(true);
fileChooser.addChoosableFileFilter(new AlignmentFileFilter());
fileChooser.addChoosableFileFilter(new CoverageFileFilter());
// set the default file filter to "All"
fileChooser.setFileFilter(fileChooser.getChoosableFileFilters()[0]);
boolean approve = fileChooser.showOpenDialog(getParentFrame()) == JFileChooser.APPROVE_OPTION;
if (approve) {