test for delete file