I have a folder path brought by tkinter
output = directory3Select.folder_path
I have a list of files
ls_imgs2[i]