refactored loading the outputter and loading the testfiles