text: /*
   * Copyright (C) 2020-2021 University of Stuttgart (VISUS).
   * All rights reserved.
   */
  #pragma once
  
  #include <filesystem>
  #include <fstream>
  #include <sstream>
  #include <string>
  
  namespace msf {
  
  static std::string readFileToString(std::filesystem::path const& file_path) {
      std::ifstream file(file_path);
      std::stringstream buffer;
      buffer << file.rdbuf();
      return buffer.str();
  }
  
  } // namespace msf
  