2
Move the files to a new directory, your root for example.
Then open your mainfile.php and change the path from/old/folder to /new/folder or what have you. Once you've done that, CHMOD your mainfile.php back to 444 and you should be ready to go.
Once you open and look at mainfile.php, things will be more obvious for you.