added magento check file