test deleting file