Added index.html
Added code for reading index.html
Changed to read file sync