wedding") {
                labelElement.textContent = "Wedding Certificate:";
            } else if (selectedValue === "birth") {
                labelElement.textContent = "Birth Certificate:";
            } else if (selectedValue === "death") {
                labelElement.textContent = "Death Certificate:";
            } else {
                labelElement.textContent = "Join file:";
            }
        }

        /**
         * Previews the selected PDF files and generates icons for each file.
      