Go to Home from file explorer. Open Templates folder. And open terminal from there. And create documents with touch. For example, if you want a “create new php file” option on right click menu, use the following code on terminal.
touch "create new php file.php"