how to obtain file object from file input in JQuery or javascript

how to obtain file object from file input in JQuery or javascript

Hi
 
how to obtain file object from file input in JQuery or javascript.
 
<input type="file" id="files">
 
Thanks in advance,
Joseph.