Create mainhistory.txt