public static String name(final String path) {
        if(String.valueOf(Path.DELIMITER).equals(path)) {
            return path;
        }
        if(!StringUtils.contains(path, Path.DELIMITER)) {
            return path;
        }
        if(StringUtils.endsWith(path, String.valueOf(Path.DELIMITER))) {
            return StringUtils.substringAfterLast(normalize(path), String.valueOf(Path.DELIMITER));
        }
        return StringUtils.substringAfterLast(path, String.valueOf(Path.DELIMITER));
    }
@Test
    public void testNormalizeNameWithBackslash() {
        assertEquals("file\\name", PathNormalizer.name("/path/to/file\\name"));
    }