modify the last sign of file