move logic + plan a first support of filesystem encoding