Simplify to:

```
StringUtils.format(Strings.INVALID_FILENAME_TITLE, isFolder ? Strings.DIRECTORY : Strings.FILE);
StringUtils.format(Strings.FILE_ALREADY_EXISTS,    isFolder ? Strings.DIRECTORY : Strings.FILE, StringUtils.breakableUrl(data.rslt.name));
```