public function getExtFromPath($sPath)
    {
        $sExtension = strpos($sPath, '.') !== false ? substr($sPath, (int) strrpos($sPath, '.') + 1) : $sPath;
        return $this->sanitiseExtension($sExtension);
    }