write down obsoletes to file