out to a file and files result of first test