enables writing of generated file, idiot!