write skore to files