public static function get($filename) { $result = file_get_contents($filename, 'r'); if (false === $result) { throw new \Exception("Failed to read {$filename}."); } return $result; }