<script>
let inputs = document.querySelectorAll('.input__file');
Array.prototype.forEach.call(inputs, function (input) {
input.addEventListener('change', function() {
let label = this.nextElementSibling;
label.children[0].style.display = "none";
})
})
</script>