Create ctf_writer.c