Removed the ArrayList to store PrintWriters. Also, I removed the function to extract the output stream...