try {
connectionsNames = fileService.getFilesName(connectionsDirPath,propFileExt);
} catch (FileException e) {
throw new ConnectionException(e.toString());
}
Collection connections = new TreeSet(new ConnectionNameComparator());
Connection c = null;
for(Iterator i=connectionsNames.iterator();i.hasNext();){
c = new Connection((String)i.next());
connections.add(c);
}