New class - includes a synchronized method for different threads to write into the file