Restored unlink because it seems that it works in most browsers