Include <iostream> and <fstream> in threads/thread.cc