delete file implemented