no PHP code should be included via a plugin, and the output put into a template variable.
Or you can use the includes tag as described in the manual
{include "file.txt"} - Includes an external file; if you want to include PHP code or other dynamic content, use the full URL to the file...