protected function _getClassNameFromFilePath($sFilePath)
    {
        $sFileName = basename($sFilePath);
        $aMatches = array();

        if (!preg_match(AbstractQuery::REGEXP_FILE, $sFileName, $aMatches)) {
            throw new MigrationException('Could not extract class name from file name');
        }

        return $aMatches[2] . 'migration';
    }