implement unlink()