public function fileSupportsUnserializePhpPresentation($pFilename = '')
{
// Check if file exists
if (!file_exists($pFilename)) {
throw new \Exception("Could not open " . $pFilename . " for reading! File does not exist.");
}
try {
// Use ParseXL for the hard work.
$ole = new OLERead();
// get excel data
$ole->read($pFilename);
return true;
} catch (\Exception $e) {
return false;
}
}