a quick fix. I know people will use "." in their file names! This is just to make sure those weirdos gets their filename split correct.