Hi
Pls try like this in a assign activity inside the loop you are using
Str_filename = Path.GetFileNameWithoutExtension(item.ToString)
Item is your filepath
This will give you the FileName alone without its extension and your decimal points will be covered here
Str_filename is a variable of type string
Cheers @cldt