Fixing glob bug with brackets

Because I've used glob, and glob interpert brackets like regex, if the folder
name of the file name contained brackets the script hadn't find the file.