fixed paginator tag to work without text
bug fix for filenames with multiple dots in the name