Invalid comparison of a string and StringBuilder object

 results in empty StdErr string always being stored in globalMap and always losing actual list of files.