BX.ajax.runComponentAction('componentName', "actionName", {
mode: 'ajax',
data: new FormData(form)
})
use \Bitrix\Main\Application;
$request = Application::getInstance()->getContext()->getRequest();
$files = $request->getFileList()->toArray();