Expand import functionality to understand export formats.

TODO:

- [x] Wait for #45
What is this regex for?