add the file to the top of the index page