the file is renamed and content modified