private void checkNameConflict(Set<String> serverNames) {
String suggestedName = model.getFileName().toLowerCase();
if (serverNames.contains(suggestedName)) {
FileNameConflictHandler conflictHandler = new FileNameConflictHandler(model);
Resolution resolution = conflictHandler.resolveConflict();
switch (resolution) {
case NEW_NAME:
// XXX: The model has already been updated, i.e. at this point
// model.getFileName == newName. So just calling this method recursively
// will actually work, although it looks kind of funky.