Added file export/import as well as tests for these

This is not an acceptable error handling strategy. Let the exceptions bubble up rather than swallowing them since you can not reasonably handle most of these exceptions. UnsupportedEncodingException and JsonProcessingException should not occur, so those can be wrapped in a runtimeexception and rethrown.