String formatPathFromParts(List<String?> parts) { parts.where((element) => element != null); return parts.join('/'); }