add content to main file