Unlink file properly