Rigth. FILE directive is not supported in GMF xpand.
This is why I said you in the very first letted that you probably have to
use ANT task for it.
Another option is to extend org.eclipse.gmf.codegen.util.Generator, create
custom popup menu action using this class for code generation, deploy everything
to currently running platform and use this action for diagram code generation.