try to delete a file