Handling of problematic new file names
Replaced dir flattening with recursive dir listing

There were too many problems with illegal file names, so I decided to just keeep the directory structure intact and recursively list the whole directory when retrievingAllGenerated files