started working on opening files. changed stringstream methods to iostream