rename file and add content