how to XMLHttpRequest to localfiles?