Test File Load
Using JavaScript File API:
Test for JavaScript File Api
Using ajax - only works if file is located in web server that serves static pages:
Read File