Import images with page create

I would like to replace an existing Joomla system and replace it with Kirby. For this I have to import several 1,000 pages into Kirby automatically. The CSV import works so far and I get everything without problems.

Only the images worry me or I do not know how to start here. The images are currently in the folder assets/images and the appropriate image name is in my CSV. Now I want to import the images from the assets folder and move them to the new created subpage. Or be recreated, it doesn’t matter. Does anyone have a good approach here? Maybe with new File() and then grab the image with file_get_contents?