fixup the filename parser