bug fix - multiple dots in the file name prevents pure pdf generation