Modified generate_file_name() to generate index.html as the first page.