Test delete file.