The finder is designed to load files for both extensions and the core. Could you try replacing the above code (@opendir($user->lang_path . $user->lang_name . '/' . $path);) and use the finder for it? It should only be a matter of adding search directories to this call.