test file deletion