从HTML读取文件

I am trying to read a text file from my computer to a website. I have it working in IE, but I can't seem to make it work in Chrome. I'm not skilled in html really at all, so any assistance would be great!

<html>
<body>

    <div id = "content">
    </div>

    <script lang = "javascript">

    if (window.XMLHttpRequest)
    {
        xhttp=new XMLHttpRequest();
    }
    else // Internet Explorer 5/6
    { 
        xhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xhttp.open("GET","./Test.txt",false);
    xhttp.send("");
    xmlDoc=xhttp.responseText;

    document.getElementById('content').innerHTML = xmlDoc;
    </script>

</body>
</html> 

Do it with the Javascript File API example here