const fileInput = document.getElementById("file-upload");
window.addEventListener('paste', e => {
fileInput.files = e.clipboardData.files;
});