Converts rawName to the expected filePath
rawName
String toFilePath(String rawName) => rawName.trim().replaceAll(' ', '/').replaceAll(RegExp(r'\/+'), '/');