Should make this consistent with export, either doImport and doExport or format.import and format.export, depending on what java allows.