This example works on localhost, but not on mypages. Not sure why because you can access the text file.