sharknet compiler filestream does not have a string constructor, now pass's c_str() into constructor