output test files to directory