       $(document).on('change', 'input:file', function(e){
            var fileName = e.target.files[0].name.split('_').join(' ');
            var capitalise = fileName.charAt(0).toUpperCase() + fileName.slice(1);
            $('#title').val(capitalise);
        });