fix _parse_filenames()