It is just such simple as writing:
$('input[type=file]').val()
Anyway, I suggest using name or ID attribute to select your input.
And with event, it should look like this:
$('input[type=file]').change(function(e){
$in=$(this);
$in.next().html($in.val());
});