public function read($sFileName)<br /> {<br /> // Check if file exists and is readable<br /> if(!is_readable($sFileName)) {<br /> throw new Exception("Could not open " . $sFileName . " for reading! File does not exist, or it is not readable.");<br /> }<br /><br /> // Get the file data<br /> $this->data = file_get_contents($sFileName);<br />