Create mainpage.txt