Included simple file i/o functionality to codegen