Expand import functionality to understand export formats.

TODO:

- [x] Wait for #45
Some checkers look for "TODO:" rather than "todo:".