Execute a file in the body of a specific content type
Looks like you are looking for Code per Node module:


  Code per Node makes it possible to add custom CSS and Javascript per node, per content type, per block, and globally. The code is stored in the database, but served from the file system.