-- defaul values for path and single-output removed. --debug parameter added for MatchEventObjects to check if the object files are read properly