to run checkstyle now needs to accept a filename for results file so no data is written over