Reduce memory usage of file import worker process.