add code to files