Implemented the FileWriterThread, added stub code for the RecorderThread.