How to assign a new path to a File, while splitting the PDF

I have a multi-page PDF file that I am splitting, because each page is a invoice. I am retrieving file name, file extension and file path from the PDF:

Now when I am splitting the PDF, I am creating a new file by adding an _Counter (_1, _2, _3 etc.)
to each file name.

What am I doing wrong here:

@Rachita_Chauhan - Look like extract pdf range activity is throwing thr error.Is it possible to share the the screenshot of that activity…?