Upload matching image, is there a way to automate it?

Hi guys,
I have a nearly 500 rows table, and I would like to upload a matching image in the following way:

  1. Row 1, title X - look for image title X in the local folder “images” and upload it to the images column
  2. Row 2, title Y - look for image title Y in the local folder “images” and upload it to the images column, etc.

As I have ~500 rows, any automation would be super useful, thanks!