removes ~ file