del file before rename