add missing files, use $data not $session