output to a single z.c file
use a context structure
change err code for "couldn't open z.c"