ECG phpcs ruleset change: replace strval with (string)
Remove unused variable
ECG phpcs complience change: use Varien_Io_File for dirname
ECG phpcs complience changes: use Varien_Io_File for fileExists and replace strval() with (string)
ECG phpcs complience: wrap load() in foreach loop