I added delete file logic.