If you want to include typoscript which is written in external files, write this in your template part:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/filename.ts">