correction  code  opn array with files  in the  folder
correction mensagge
updated logic
updated logic