Loading most recent file =(

hi! I used a script to load a image from a folder but i wanted to update the image without having to remove the last, and renaming the new one, so i’m asking if it’s possible to load the most recent image, somehow cheking the date of the file !! if someone could help i would appreciate ! :expressionless: