Added file export/import as well as tests for these

This method is not a reasonable library method since it is a very specific use case.