wip on import and export to/from file