fix bug where default xml parsed too many files
reset terminal color after running unittests
return early if no files in chunk
speedup parsing using map and adjusting poolsize