le.name;
            });
            results.push(...fileResults);
        } catch (error) {
            results.push({
                fileName: file.name,
                valid: false,
                errorMessage: `${escapeHtml(translations.statusInvalid)}: ${escapeHtml(error.message)}`
            });
        }
    }
    
    displayResults(results);
});

function displayResults(results) {
    const resultDiv = document.getElementById('results');
    const listDiv = document.getElementById('signatures-l