Added unlink function