Onhover file utils for thumbnail