-First multi-threaded operation: file writing;