Save datafield in main thread
The current implementation with saving heavy data files in a separate thread doesn't work because we still wait for it and only then proceed.
I see no way to simultaneously have detached thread and catch exceptions from this thread.
Therefore the code was simplified in favor of passing exceptions.