Add more cleaner plugin code. is_dir, file_exists and opendir are not working as per phpfolders test file ... must be an MVC scope issue.