Fix the way to handle file request , a bit hack on /tmp/ :( ,
can't find the clean way to do it.