Now using argparser and added new parameters.
Added default group value to getErrorFiles()