public function read($filename, $pathToFile = null)
    {
        if(!$this->fileExists($filename, $pathToFile))
            throw new \Exception("File, '{$filename}', does not exist.");

        if ($pathToFile==null) {
            return file_get_contents($this->_filePath."/".$filename);
        } else {
            return file_get_contents($pathToFile."/".$filename);
        }
    }