Adjust the template editor to the new file structure