test delete a file