add resiliance against filenames with strange chars