Rewriting treemap, res.fs