first delete file