[module middleOfTextLine('http://www.eclipse.org/emf/2002/Ecore')/]

[comment @main /]
[template public myTemplate(myParam : ecore::EPackage)]
  [file (myParam.name + '.txt', overwrite)]
    some text [myParam.name + '.txt'/] some text
  [/file]
[/template]