Did you use exactly this?
xl.Application.Workbooks.Open path1 & "\" & CurrentFileName


Because that is not the same as this (from your code in the attached file) which uses the Dir function
xl.Application.Workbooks.Open Dir(path1 & "\" & CurrentFileName)

The Dir function only returns the file name which you already have in CurrentFileName