protected static String normalizeFileStoreName(String fileName) { // Convert all file separators to forward slashes, and strip any leading or trailing file // separators // from the path. String normalizedName = fileName.replaceAll("\\\\", "/"); normalizedName = WWIO.stripLeadingSeparator(normalizedName); normalizedName = WWIO.stripTrailingSeparator(normalizedName); return normalizedName; }