     
   s.join(', ') 
   
+filename = (name) ->
+    if config[name]? then config[name] else "#{name}.kt"
 
 module.exports =
 #

            
               
    # Components - overwrite
    fs.writeFileSync(path.join(process.cwd(), config.src, 
      "GeneratedComponents.kt"), s0.join('\n'))
    
    # Entity Extensions - overwrite
    fs.writeFileSync(path.join(process.cwd(), config.src, 
      "EntityExtensions.kt"), s1.join('\n'))

    # Matcher Extensions - overwrite
    fs.writeFileSync(path.join(process.cwd(), config.src, 
      "MatcherExtensions.kt"), s2.join('\n'))

    # Pool Extensions - overwrite
    fs.writeFileSync(path.join(process.cwd(), config.src, 
      "PoolExtensions.kt"), s3.join('\n'))

    ###
     * Systems Type Definitions

path = require('path')
mkdirp = require('mkdirp')
config = require("#{process.cwd()}/entitas.json")
location = "#{config.src}/#{config.namespace.replace('.','/')}/"

getType = (arg) ->
  switch arg
