Switch Activity for pdf year

I am trying to do the practice from the “advance developer program” in which there is Switch activity Demo, so i tried doing it.

But the activity, instead of creating new folder and pasting the pdf files based on year, it is changing the .pdf type of file to file type.

Any suggestion why is that happening.

Note: not only my sequence, also the sequence which i downloaded from the Demo video as well.

Edit: Closing this issue, as the “Move file” activity does not have the functionality to create folders which does not exists.