So I have written a C++ project which reads a file into a string.
//func to read file into string std::string readFile( const std::string& fileName ) {