Remove fstream, was for testing initially.