Adding dir names in a tree to the filenames only works for target subdir names, not full path
This here Python script takes a dir tree as input, and adds every word present in the path and adds them to the filename (if the word is not already present in the filename adds it with some formatting inside existing brackets or creates brackets).