Produces a correct reverse indented file

More work to do : options, ... as well as finding a better technique