Adding a function to load up all the files requested by the index page.