renamed newfile to old file