Test delete file