if(container.resolve(fileName) != null) {
getWindowControl().setError(translator.translate("TargetNameAlreadyUsed"));
status = FolderCommandStatus.STATUS_FAILED;
} else {
if (meta != null) {
meta.rename(fileName);
}
if(VFSConstants.NO.equals(currentItem.rename(fileName))) {
getWindowControl().setError(translator.translate("FileRenameFailed", new String[]{fileName}));
status = FolderCommandStatus.STATUS_FAILED;
}