public static function getContents($filename)
    {
        $contents = file_get_contents($filename);
        if ($contents === false) {
            throw new \RuntimeException("Cannot read the file: " . $filename);
        }

        return $contents;
    }