publish data structure to file