add code to the file