I think you will need to re-upload the hero.php file via FTP since the content of the file is probably gone.

You can add the target attribute to the links to that they open in a new tab/window.

Let me know if that doesn’t answer your question.