Update and rename mainfile.txt to mainfile.php